mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Removed extraneous GCC warning flags.
This commit is contained in:
parent
45d2ae646b
commit
7f3a352e5a
@ -156,9 +156,6 @@ case "$NGX_GCC_VER" in
|
|||||||
3.* | 4.* )
|
3.* | 4.* )
|
||||||
# we have a lot of the unused function arguments
|
# we have a lot of the unused function arguments
|
||||||
CFLAGS="$CFLAGS -Wno-unused-parameter"
|
CFLAGS="$CFLAGS -Wno-unused-parameter"
|
||||||
CFLAGS="$CFLAGS -Wunused-function"
|
|
||||||
CFLAGS="$CFLAGS -Wunused-variable"
|
|
||||||
CFLAGS="$CFLAGS -Wunused-value"
|
|
||||||
# 4.2.1 shows the warning in wrong places
|
# 4.2.1 shows the warning in wrong places
|
||||||
#CFLAGS="$CFLAGS -Wunreachable-code"
|
#CFLAGS="$CFLAGS -Wunreachable-code"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user