summaryrefslogtreecommitdiff
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
parent6efca3442f9e74c789803cbcfba330cd12de7863 (diff)
build: add -Wshadow to the dev build
Signed-off-by: F. Aragon <paco@voltanet.io>
-rwxr-xr-xconfigure.ac1
1 files changed, 1 insertions, 0 deletions
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