Fix fall-through warnings

This commit is contained in:
Orestis Floros 2020-05-01 19:09:35 +02:00
parent a1ed46a18a
commit 24c417966e
No known key found for this signature in database
GPG Key ID: A09DBD7D3222C1C3
2 changed files with 6 additions and 0 deletions

View File

@ -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 */