From: F. Aragon Date: Thu, 13 Sep 2018 14:42:30 +0000 (+0200) Subject: build: add -Wshadow to the dev build X-Git-Tag: frr-7.1-dev~353^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F3017%2Fhead;p=mirror%2Ffrr.git build: add -Wshadow to the dev build Signed-off-by: F. Aragon --- diff --git a/configure.ac b/configure.ac index 08f1c117ec..32d5756a61 100755 --- a/configure.ac +++ b/configure.ac @@ -231,6 +231,7 @@ if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then AC_C_FLAG([-Wunreachable-code]) AC_C_FLAG([-Wpacked]) AC_C_FLAG([-Wpadded]) + AC_C_FLAG([-Wshadow]) else AC_C_FLAG([-Wno-unused-result]) fi