checkpath: fix gcc 7 warnings
This commit is contained in:
parent
47e4bfae57
commit
c7e8f1133a
@ -269,11 +269,13 @@ int main(int argc, char **argv)
|
|||||||
switch (opt) {
|
switch (opt) {
|
||||||
case 'D':
|
case 'D':
|
||||||
trunc = true;
|
trunc = true;
|
||||||
|
/* falls through */
|
||||||
case 'd':
|
case 'd':
|
||||||
type = inode_dir;
|
type = inode_dir;
|
||||||
break;
|
break;
|
||||||
case 'F':
|
case 'F':
|
||||||
trunc = true;
|
trunc = true;
|
||||||
|
/* falls through */
|
||||||
case 'f':
|
case 'f':
|
||||||
type = inode_file;
|
type = inode_file;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user