build: Add -Werror=logical-op

Caught a couple of checks that evaluated to always true.

https://bugzilla.gnome.org/show_bug.cgi?id=711540
This commit is contained in:
Emmanuele Bassi 2014-02-10 17:39:47 +00:00
parent d157602924
commit 2662788bbc

View File

@ -918,6 +918,7 @@ MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS
-Wcast-align -Wcast-align
-Wuninitialized -Wuninitialized
-Wno-strict-aliasing -Wno-strict-aliasing
-Werror=logical-op
-Werror=pointer-arith -Werror=pointer-arith
-Werror=missing-declarations -Werror=missing-declarations
-Werror=redundant-decls -Werror=redundant-decls