Mark conditionally used variable as av_unused, fixes the warning:
authorDiego Biurrun <diego@biurrun.de>
Mon, 28 Dec 2009 12:01:49 +0000 (12:01 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 28 Dec 2009 12:01:49 +0000 (12:01 +0000)
cmdutils.c:576: warning: unused variable â€˜filter’

Originally committed as revision 20943 to svn://svn.ffmpeg.org/ffmpeg/trunk

cmdutils.c

index 176a98d..780d4c3 100644 (file)
@@ -573,7 +573,7 @@ void show_protocols(void)
 
 void show_filters(void)
 {
 
 void show_filters(void)
 {
-    AVFilter **filter = NULL;
+    AVFilter av_unused(**filter) = NULL;
 
     printf("Filters:\n");
 #if CONFIG_AVFILTER
 
     printf("Filters:\n");
 #if CONFIG_AVFILTER