commit | 5d520cf7db0228ee7aa195c3f35637e5f6f5f2cf | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat Apr 01 09:14:11 2023 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Apr 06 19:10:08 2023 -0400 |
tree | 2b8e9d52271c00eed39c301739d756ecf6859286 | |
parent | 15a21552c353c5dbd6f0b0fc71e3e8e142aadccc [diff] |
cmd: convert fallthrough comment. gcc does not understand /* FALL TROUGH */ and emits a warning: cmd/date.c: In function ‘do_date’: cmd/date.c:62:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 62 | if (strcmp(argv[1],"reset") == 0) { | ^ cmd/date.c:102:9: note: here 102 | case 1: /* get date & time */ | ^~~~ Use the fallthrough macro instead. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>