]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
configure: add -Wlogical-op warning to cflags
authorFlorian Westphal <fw@strlen.de>
Fri, 15 Jun 2018 09:04:39 +0000 (11:04 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 15 Jun 2018 09:18:07 +0000 (11:18 +0200)
It finds dead code in ebtables.

Signed-off-by: Florian Westphal <fw@strlen.de>
configure.ac

index b814ef08b00c2f18ac9658d115b197c57c9af3b0..8c083ae8bcc62f511dadf0857e9ecee7460611c3 100644 (file)
@@ -197,6 +197,7 @@ AC_SUBST([blacklist_6_modules])
 
 regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \
        -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
+       -Wlogical-op \
        -Winline -pipe";
 regular_CPPFLAGS="${largefile_cppflags} -D_REENTRANT \
        -DXTABLES_LIBDIR=\\\"\${xtlibdir}\\\" -DXTABLES_INTERNAL";