Suppress warnings about fallthrough in a case statement where this is intended. Signed-off-by: John Kacur <jkacur@xxxxxxxxxx> --- src/lib/rt-utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/rt-utils.c b/src/lib/rt-utils.c index 14dac5608037..6bbd25a8ba53 100644 --- a/src/lib/rt-utils.c +++ b/src/lib/rt-utils.c @@ -382,12 +382,15 @@ int parse_mem_string(char *str, uint64_t *val) case 'g': case 'G': v *= 1024; + __attribute__ ((fallthrough)); case 'm': case 'M': v *= 1024; + __attribute__ ((fallthrough)); case 'k': case 'K': v *= 1024; + __attribute__ ((fallthrough)); case 'b': case 'B': break; -- 2.40.1