Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-18 01:15:19 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-10-18 01:28:50 +0400
commit35daf3ca8173f80f200860e06a410ced31a8b360 (patch)
tree8da256fd289ad92907ddb01abd3bb654e3fefbc1 /cmdutils.c
parenteebde404bc8cee8817508578a4067c857994b6a6 (diff)
cmdutils: remove unneeded null check
Fixes CID703769 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 2312ca2ac2..f4474f61b6 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -380,7 +380,7 @@ int locate_option(int argc, char **argv, const OptionDef *options,
(po->name && !strcmp(optname, po->name)))
return i;
- if (!po || po->flags & HAS_ARG)
+ if (po->flags & HAS_ARG)
i++;
}
return 0;