[gnome-commander] Do not throw an error if a default case is missing in switch statement



commit 2b51d03cf57b65775874e72c4cdd4804d5603d8b
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Fri Aug 11 21:06:48 2017 +0200

    Do not throw an error if a default case is missing in switch statement

 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 7c9d8bf..c0b7a6c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,7 @@
 
 SUBDIRS = dialogs tags intviewer
 
-AM_CXXFLAGS = $(WARN_CXXFLAGS)
+AM_CXXFLAGS = $(WARN_CXXFLAGS) -Wno-error=switch-default -Wno-switch-default
 AM_LDFLAGS = $(WARN_LDFLAGS)
 
 AM_CPPFLAGS = \


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