]> granicus.if.org Git - libvpx/commitdiff
configure: enable unused variable warnings
authorJohn Koleszar <jkoleszar@google.com>
Fri, 4 Feb 2011 16:51:21 +0000 (11:51 -0500)
committerJohn Koleszar <jkoleszar@google.com>
Fri, 4 Feb 2011 16:53:11 +0000 (11:53 -0500)
Only suppress unused function warnings, rather than supprressing all
unused-* warnings. Unused functions can still be seen with
--enable-extra-warnings.

Change-Id: Ibca20d859dbffedd76bd082ffe0fa685c3ac198e

configure

index ed1990607f3dd531ef65fbd9d517bb14348ed5ae..ca7affa55181215f0727634bccca4fa69c226787 100755 (executable)
--- a/configure
+++ b/configure
@@ -493,7 +493,7 @@ process_toolchain() {
         check_add_cflags -Wpointer-arith
         check_add_cflags -Wtype-limits
         check_add_cflags -Wcast-qual
-        enabled extra_warnings || check_add_cflags -Wno-unused
+        enabled extra_warnings || check_add_cflags -Wno-unused-function
     fi
 
     if enabled icc; then