diff options
Diffstat (limited to 'lib/cmdline.c')
-rw-r--r-- | lib/cmdline.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/cmdline.c b/lib/cmdline.c index 9e186234edc0..b390dd03363b 100644 --- a/lib/cmdline.c +++ b/lib/cmdline.c @@ -144,27 +144,28 @@ unsigned long long memparse(const char *ptr, char **retptr) case 'E': case 'e': ret <<= 10; - /* fall through */ + fallthrough; case 'P': case 'p': ret <<= 10; - /* fall through */ + fallthrough; case 'T': case 't': ret <<= 10; - /* fall through */ + fallthrough; case 'G': case 'g': ret <<= 10; - /* fall through */ + fallthrough; case 'M': case 'm': ret <<= 10; - /* fall through */ + fallthrough; case 'K': case 'k': ret <<= 10; endptr++; + fallthrough; default: break; } |