Browse Source

cmdutils: remove unneeded null check

Fixes CID703769
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 12 years ago
parent
commit
35daf3ca81
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cmdutils.c

+ 1
- 1
cmdutils.c View File

@@ -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;


Loading…
Cancel
Save