Remove -Wdeclaration-after-statement

This is a C99 feature which we can use now.

Change-Id: I84a63d6bf282b79c9f0da0543b3b4f5a0cf0c81a
Reviewed-on: https://code.wireshark.org/review/17733
Reviewed-by: João Valverde <j@v6e.pt>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
Peter Wu 2016-09-16 13:56:47 +02:00
parent 41567191d8
commit 05ae6a7560
2 changed files with 0 additions and 2 deletions

View File

@ -419,7 +419,6 @@ else()
set(C_WARN_FLAGS
# The following are C only, not C++
-Wc++-compat
-Wdeclaration-after-statement
-Wshadow
-Wno-pointer-sign
-Wold-style-definition

View File

@ -591,7 +591,6 @@ AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wheader-guard)
# The following are C only, not C++
#
AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wc++-compat, C)
AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wdeclaration-after-statement, C)
AC_WIRESHARK_COMPILER_FLAGS_CHECK(-Wunused-const-variable, C)
#