imraa.c: remove ARGP_KEY_ARG checking that makes no sense
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -112,10 +112,6 @@ parse_opt(int key, char *arg, struct argp_state *state)
|
||||
arguments->input_file = arg;
|
||||
break;
|
||||
case ARGP_KEY_ARG:
|
||||
if (state->arg_num >= 2) {
|
||||
argp_usage(state);
|
||||
}
|
||||
arguments->args[state->arg_num] = arg;
|
||||
break;
|
||||
case ARGP_KEY_END:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user