checkpath: fix gcc 7 warnings

This commit is contained in:
William Hubbs 2018-06-19 14:01:54 -05:00
parent 47e4bfae57
commit c7e8f1133a

View File

@ -269,11 +269,13 @@ int main(int argc, char **argv)
switch (opt) {
case 'D':
trunc = true;
/* falls through */
case 'd':
type = inode_dir;
break;
case 'F':
trunc = true;
/* falls through */
case 'f':
type = inode_file;
break;