From 24c417966e8a7b19ad1d4dbb1f5ad684b7e29da5 Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Fri, 1 May 2020 19:09:35 +0200 Subject: Fix fall-through warnings --- src/print_mem.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/print_mem.c') diff --git a/src/print_mem.c b/src/print_mem.c index 941c9d9..4a521d7 100644 --- a/src/print_mem.c +++ b/src/print_mem.c @@ -62,12 +62,15 @@ static unsigned long memory_absolute(const char *mem_amount, const unsigned long case 'T': case 't': amount *= BINARY_BASE; + /* fall-through */ case 'G': case 'g': amount *= BINARY_BASE; + /* fall-through */ case 'M': case 'm': amount *= BINARY_BASE; + /* fall-through */ case 'K': case 'k': amount *= BINARY_BASE; -- cgit v1.2.3