From 107b7ebf33059799e8674a80a46507678e0bfd70 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 15 Jun 2018 11:04:39 +0200 Subject: configure: add -Wlogical-op warning to cflags It finds dead code in ebtables. Signed-off-by: Florian Westphal --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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"; -- cgit v1.2.3