History

avfilter/avfilter: Remove unused count

Andreas Rheinhardt committed 5 years ago

Commit dc2279a1 parent db2514a1 file · +2 −3Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/avfilter.c+2−3
@@ -812,7 +812,7 @@ static int process_options(AVFilterContext *ctx, AVDictionary **options, · 811 unmodified lines
812812 const char *args)
813813 {
814814 const AVOption *o = NULL;
815− int ret, count = 0;
815+ int ret;
816816 char *av_uninit(parsed_key), *av_uninit(value);
817817 const char *key;
818818 int offset= -1;
@@ -875,10 +875,9 @@ static int process_options(AVFilterContext *ctx, AVDictionary **options, · 56 unmodified lines
875875
876876 av_free(value);
877877 av_free(parsed_key);
878− count++;
879878 }
880879
881− return count;
880+ return 0;
882881 }
883882
884883 int ff_filter_process_command(AVFilterContext *ctx, const char *cmd,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t