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:
parent
d157602924
commit
2662788bbc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user