]> git.puffer.fish Git - mirror/frr.git/commitdiff
build: add -Wshadow to the dev build 3017/head
authorF. Aragon <paco@voltanet.io>
Thu, 13 Sep 2018 14:42:30 +0000 (16:42 +0200)
committerF. Aragon <paco@voltanet.io>
Mon, 17 Sep 2018 16:37:04 +0000 (18:37 +0200)
Signed-off-by: F. Aragon <paco@voltanet.io>
configure.ac

index 08f1c117ec83092b099cf0508ab71a5be72d0252..32d5756a61e3ec4321f0cb8cc0331ff5a0bf7386 100755 (executable)
@@ -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