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_disk_info.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/print_disk_info.c') diff --git a/src/print_disk_info.c b/src/print_disk_info.c index 4c23c7a..d8cce1c 100644 --- a/src/print_disk_info.c +++ b/src/print_disk_info.c @@ -84,12 +84,15 @@ static bool below_threshold(struct statvfs buf, const char *prefix_type, const c case 'T': case 't': factor *= base; + /* fall-through */ case 'G': case 'g': factor *= base; + /* fall-through */ case 'M': case 'm': factor *= base; + /* fall-through */ case 'K': case 'k': factor *= base; -- cgit v1.2.3