Skip to content

Commit

Permalink
imraa.c: remove ARGP_KEY_ARG checking that makes no sense
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Le Foll <[email protected]>
  • Loading branch information
arfoll committed Nov 4, 2016
1 parent ef8102d commit dbcba5c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions imraa/imraa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dbcba5c

Please sign in to comment.