summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-24 15:31:13 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-24 15:31:13 +0000
commit03c779451ca796655062115771af14f120ea9b93 (patch)
treec0c4db600993bcdc422e406b64c579c6a2db6502
parenta3041ac9316a239c03da3d29c6512c5e99b1e057 (diff)
downloadnginx-03c779451ca796655062115771af14f120ea9b93.tar.gz
nginx-03c779451ca796655062115771af14f120ea9b93.tar.bz2
update gcc warnings
Diffstat (limited to '')
-rw-r--r--auto/cc/gcc3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/cc/gcc b/auto/cc/gcc
index 8ac76fb98..8e5422e08 100644
--- a/auto/cc/gcc
+++ b/auto/cc/gcc
@@ -158,9 +158,10 @@ case "$NGX_GCC_VER" in
3.* | 4.* )
# we have a lot of the unused function arguments
CFLAGS="$CFLAGS -Wno-unused-parameter"
- CFLAGS="$CFLAGS -Wno-unused-function"
+ CFLAGS="$CFLAGS -Wunused-function"
CFLAGS="$CFLAGS -Wunused-variable"
CFLAGS="$CFLAGS -Wunused-value"
+ # 4.2.1 shows the warning in wrong places
#CFLAGS="$CFLAGS -Wunreachable-code"
;;