Skip to content

Commit b97bc5b

Browse files
committed
lkl: fs2tar: Fix -Wimplicit-fallthrough
fs2tar.c: In function ‘parse_opt’: fs2tar.c:71:26: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Andreas Gnau <Rondom@Rondom.de>
1 parent 8a1fc6c commit b97bc5b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/lkl/fs2tar.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state)
7070
case ARGP_KEY_END:
7171
if (state->arg_num < 2 || !cla->fsimg_type)
7272
argp_usage(state);
73+
break;
7374
default:
7475
return ARGP_ERR_UNKNOWN;
7576
}

0 commit comments

Comments
 (0)