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:
parent
bbccb9cbfb
commit
98a15b7e80
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue