diff options
author | F. Aragon <paco@voltanet.io> | 2018-09-13 16:42:30 +0200 |
---|---|---|
committer | F. Aragon <paco@voltanet.io> | 2018-09-17 18:37:04 +0200 |
commit | 2b5773b248115e7afcdec4b29424f45fcdabd95c (patch) | |
tree | a75a6603e7310901795189ab575fe706397936d5 /configure.ac | |
parent | Merge pull request #3007 from pacovn/static_analysis__shadow_variables2 (diff) | |
download | frr-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-x | configure.ac | 1 |
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 |