[gnome-commander] gnome-cmd-file-popmenu.cc: fix for -Wswitch-default



commit 8ba31791bcea13537b1783b06224b39325e28c03
Author: Mamoru TASAKA <mtasaka fedoraproject org>
Date:   Sun Apr 23 14:48:47 2017 +0900

    gnome-cmd-file-popmenu.cc: fix for -Wswitch-default
    
    src/gnome-cmd-file-popmenu.cc:300:12: error: switch missing default case [-Werror=switch-default]

 src/gnome-cmd-file-popmenu.cc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-file-popmenu.cc b/src/gnome-cmd-file-popmenu.cc
index 6e5db09..90b5a5d 100644
--- a/src/gnome-cmd-file-popmenu.cc
+++ b/src/gnome-cmd-file-popmenu.cc
@@ -352,6 +352,9 @@ inline gboolean fav_app_matches_files (GnomeCmdApp *app, GList *files)
                 if (!ok) return FALSE;
             }
             return TRUE;
+
+        default:
+            break;
     }
 
     return FALSE;


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