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;
|
arguments->input_file = arg;
|
||||||
break;
|
break;
|
||||||
case ARGP_KEY_ARG:
|
case ARGP_KEY_ARG:
|
||||||
if (state->arg_num >= 2) {
|
|
||||||
argp_usage(state);
|
|
||||||
}
|
|
||||||
arguments->args[state->arg_num] = arg;
|
|
||||||
break;
|
break;
|
||||||
case ARGP_KEY_END:
|
case ARGP_KEY_END:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user