]> git.kaiwu.me - nginx.git/commitdiff
Removed extraneous GCC warning flags.
authorRuslan Ermilov <ru@nginx.com>
Sun, 29 Jul 2012 19:45:30 +0000 (19:45 +0000)
committerRuslan Ermilov <ru@nginx.com>
Sun, 29 Jul 2012 19:45:30 +0000 (19:45 +0000)
auto/cc/gcc

index 1740a5fc5a8671dfb4be17caa55847a746975d4f..c27d857e3ecef5e833ffe5c5b9c5cf72012f3806 100644 (file)
@@ -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"
     ;;