summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorF. Aragon <paco@voltanet.io>2018-09-13 16:42:30 +0200
committerF. Aragon <paco@voltanet.io>2018-09-17 18:37:04 +0200
commit2b5773b248115e7afcdec4b29424f45fcdabd95c (patch)
treea75a6603e7310901795189ab575fe706397936d5 /configure.ac
parentMerge pull request #3007 from pacovn/static_analysis__shadow_variables2 (diff)
downloadfrr-2b5773b248115e7afcdec4b29424f45fcdabd95c.tar.xz
frr-2b5773b248115e7afcdec4b29424f45fcdabd95c.zip
build: add -Wshadow to the dev build
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 08f1c117e..32d5756a6 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