Skip to content

Commit

Permalink
lkl: fs2tar: Fix -Wimplicit-fallthrough
Browse files Browse the repository at this point in the history
fs2tar.c: In function ‘parse_opt’:
fs2tar.c:71:26: warning: this statement may fall through
[-Wimplicit-fallthrough=]

Signed-off-by: Andreas Gnau <[email protected]>
  • Loading branch information
Rondom committed Nov 17, 2019
1 parent 8a1fc6c commit f66800e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/lkl/fs2tar.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state)
case ARGP_KEY_END:
if (state->arg_num < 2 || !cla->fsimg_type)
argp_usage(state);
break;
default:
return ARGP_ERR_UNKNOWN;
}
Expand Down

0 comments on commit f66800e

Please sign in to comment.