Mark conditionally used variable as av_unused, fixes the warning:

cmdutils.c:576: warning: unused variable ‘filter’

Originally committed as revision 20943 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2009-12-28 12:01:49 +00:00
parent 8b0867121e
commit 786386280e
1 changed files with 1 additions and 1 deletions

View 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"); printf("Filters:\n");
#if CONFIG_AVFILTER #if CONFIG_AVFILTER