Silenced warnings about fallthrough situations in libntfs-3g

Insert a comment when fallthrough situations are desired in switch cases.
pull/2/head
Jean-Pierre André 2020-03-07 12:00:11 +01:00
parent ef61c82529
commit c5530af508
1 changed files with 2 additions and 0 deletions

View File

@ -6902,7 +6902,9 @@ s64 ntfs_attr_get_free_bits(ntfs_attr *na)
}
switch (br % 4) {
case 3: nr_free += lut[*(buf + br - 3)];
/* FALLTHRU */
case 2: nr_free += lut[*(buf + br - 2)];
/* FALLTHRU */
case 1: nr_free += lut[*(buf + br - 1)];
}
}