[glib/wip/otte/fallthrough: 3/3] build: Enable -Wimplicit-fallthrough by default



commit 93b9f22369e1d07cd080afb6ea75633bf966da50
Author: Benjamin Otte <otte redhat com>
Date:   Sun Sep 2 20:47:48 2018 +0200

    build: Enable -Wimplicit-fallthrough by default

 meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index 64f2fcab6..c9f486498 100644
--- a/meson.build
+++ b/meson.build
@@ -344,6 +344,7 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
   test_c_args = [
     '-Wall',
     '-Wduplicated-branches',
+    '-Wimplicit-fallthrough',
     '-Wmisleading-indentation',
     '-Wstrict-prototypes',
     '-Wunused',


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