aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johnathan Jenkins <twodopeshaggy@gmail.com>2017-05-29 10:51:44 -0700
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-05-29 23:21:44 +0530
commit67b96d4f07cc3a4f0511ad9305cb70d1c47847eb (patch)
tree697fa0ab1bf9f33c219af8b44d566ca0f03e298d
parent16ec5d335105e9daa7a2ae4dbd37ec7985a64b34 (diff)
downloadnnn-67b96d4f07cc3a4f0511ad9305cb70d1c47847eb.tar.gz
fix compile warning on gcc7 (#32)
-rw-r--r--nnn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nnn.c b/nnn.c
index 8859d50..4b00225 100644
--- a/nnn.c
+++ b/nnn.c
@@ -1558,7 +1558,7 @@ nochange:
}
/* Fall through to exit */
- }
+ } // fallthrough
case SEL_QUIT:
dentfree(dents);
return;
@@ -2082,7 +2082,7 @@ main(int argc, char *argv[])
while ((opt = getopt(argc, argv, "dSp:vh")) != -1) {
switch (opt) {
case 'S':
- bsizeorder = 1;
+ bsizeorder = 1; // fallthrough
case 'd':
/* Open in detail mode, if set */
showdetail = 1;