changeset 4767:d9190c84e594

Removed extraneous GCC warning flags.
author Ruslan Ermilov <ru@nginx.com>
date Sun, 29 Jul 2012 19:45:30 +0000
parents 284cb8fb0741
children 1c5e2e4d5b35
files auto/cc/gcc
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/auto/cc/gcc
+++ b/auto/cc/gcc
@@ -156,9 +156,6 @@ case "$NGX_GCC_VER" in
     3.* | 4.* )
         # we have a lot of the unused function arguments
         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
         #CFLAGS="$CFLAGS -Wunreachable-code"
     ;;