diff options
author | Ingo Bürk <admin@airblader.de> | 2020-05-01 22:41:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 22:41:53 +0200 |
commit | ae49ec4bcbb2474392851cea34d2d31a3d16eb4a (patch) | |
tree | bafe3837a7e4a5f2a57c162be7091c220be09eba /src/print_disk_info.c | |
parent | e3c9ae3c716ba1dfc63f44cd0c4ccf49739fd549 (diff) | |
parent | 24c417966e8a7b19ad1d4dbb1f5ad684b7e29da5 (diff) |
Merge pull request #418 from orestisfl/warnings
Fix fall-through warnings
Diffstat (limited to 'src/print_disk_info.c')
-rw-r--r-- | src/print_disk_info.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |