From c7e8f1133a42152cc293e6b637985f81bcf8b310 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 19 Jun 2018 14:01:54 -0500 Subject: checkpath: fix gcc 7 warnings --- src/rc/checkpath.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3