diff options
author | Florian Westphal <fw@strlen.de> | 2018-06-15 11:04:39 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-06-15 11:18:07 +0200 |
commit | 107b7ebf33059799e8674a80a46507678e0bfd70 (patch) | |
tree | 0ff77b99ce2edd10546cd427826d7dfd8ffdc256 /configure.ac | |
parent | bc7f49d5b03da2fbc702843660ac92287d5e02b9 (diff) |
configure: add -Wlogical-op warning to cflags
It finds dead code in ebtables.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
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"; |