shithub: libvpx

Download patch

ref: b601eb8cda3d3dec197b569aa86773dfee7d0062
parent: 6bf7e2cc3777921477024bf4ed28fde28f02ca07
author: John Koleszar <jkoleszar@google.com>
date: Fri Feb 4 06:51:21 EST 2011

configure: enable unused variable warnings

Only suppress unused function warnings, rather than supprressing all
unused-* warnings. Unused functions can still be seen with
--enable-extra-warnings.

Change-Id: Ibca20d859dbffedd76bd082ffe0fa685c3ac198e

--- a/configure
+++ b/configure
@@ -493,7 +493,7 @@
         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
--