From: Florian Westphal Date: Fri, 15 Jun 2018 09:04:39 +0000 (+0200) Subject: configure: add -Wlogical-op warning to cflags X-Git-Tag: v1.8.0~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=107b7ebf33059799e8674a80a46507678e0bfd70;p=thirdparty%2Fiptables.git configure: add -Wlogical-op warning to cflags It finds dead code in ebtables. Signed-off-by: Florian Westphal --- diff --git a/configure.ac b/configure.ac index b814ef08..8c083ae8 100644 --- a/configure.ac +++ b/configure.ac @@ -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";