Add -Wshadow, so we catch cases where somebody might not be using the

variable they think they are.

svn path=/trunk/; revision=25537
This commit is contained in:
Guy Harris 2008-06-23 19:56:47 +00:00
parent bbccb9cbfb
commit 98a15b7e80
1 changed files with 1 additions and 0 deletions

View File

@ -252,6 +252,7 @@ AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wendif-labels)
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wpointer-arith)
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wno-pointer-sign)
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Warray-bounds)
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wshadow)
#
# If we're running gcc add '-D_U_="__attribute__((unused))"' to CFLAGS as well,