OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eebde40
)
cmdutils: remove unneeded null check
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 17 Oct 2012 21:15:19 +0000
(23:15 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 17 Oct 2012 21:28:50 +0000
(23:28 +0200)
Fixes CID703769
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
cmdutils.c
patch
|
blob
|
history
diff --git
a/cmdutils.c
b/cmdutils.c
index
2312ca2
..
f4474f6
100644
(file)
--- 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;