aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-06-19 14:01:54 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-06-19 14:01:54 -0500
commitc7e8f1133a42152cc293e6b637985f81bcf8b310 (patch)
tree119f83d8ed5a8b0c09d14dd1c50d2b9ef9659379
parent47e4bfae57402eedd017d6098b432c2c411cd374 (diff)
checkpath: fix gcc 7 warnings
-rw-r--r--src/rc/checkpath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c
index 07e5f78a..448c9cf8 100644
--- a/src/rc/checkpath.c
+++ b/src/rc/checkpath.c
@@ -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;