]> spindle.queued.net Git - midori/commitdiff
Add -Wunreachable-code to compilation warnings
authorChristian Dywan <christian@twotoasts.de>
Wed, 3 Mar 2010 22:19:22 +0000 (23:19 +0100)
committerChristian Dywan <christian@twotoasts.de>
Thu, 4 Mar 2010 01:08:49 +0000 (02:08 +0100)
wscript

diff --git a/wscript b/wscript
index 4e7b7fe9a256fd37302dd8daf84875be6dbd4b6b..11f28f7aeb7224aac78a22e544562cd223ded095 100644 (file)
--- a/wscript
+++ b/wscript
@@ -297,7 +297,7 @@ def configure (conf):
                 '-Wno-missing-field-initializers '
                 '-Wredundant-decls -Wmissing-noreturn '
                 '-Wshadow -Wpointer-arith -Wcast-align '
-                '-Winline -Wformat-security '
+                '-Winline -Wformat-security -Wunreachable-code '
                 '-Winit-self -Wundef -Wdeclaration-after-statement '
                 '-Wmissing-format-attribute -Wnested-externs '
             # -DGSEAL_ENABLE