[gnome-commander/ConvertWarningsToErrors: 3/8] Remove problematic fallthrough attribute for switch statement



commit 9129495e13af52067e744dd3fbd29985f858d885
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Mon Apr 17 22:03:29 2017 +0200

    Remove problematic fallthrough attribute for switch statement

 src/dialogs/gnome-cmd-search-dialog.cc |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-search-dialog.cc b/src/dialogs/gnome-cmd-search-dialog.cc
index ed4922e..7a5e43d 100644
--- a/src/dialogs/gnome-cmd-search-dialog.cc
+++ b/src/dialogs/gnome-cmd-search-dialog.cc
@@ -1022,9 +1022,6 @@ void GnomeCmdSearchDialog::Private::on_dialog_response(GtkDialog *window, int re
                 g_free (fpath);
                 g_free (dpath);
             }
-#if defined (__GNUC__)
-            __attribute__ ((fallthrough));
-#endif
 
         case GTK_RESPONSE_NONE:
         case GTK_RESPONSE_DELETE_EVENT:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]