commit 67b96d4f07cc3a4f0511ad9305cb70d1c47847eb
parent 16ec5d335105e9daa7a2ae4dbd37ec7985a64b34
Author: Johnathan Jenkins <twodopeshaggy@gmail.com>
Date: Mon, 29 May 2017 10:51:44 -0700
fix compile warning on gcc7 (#32)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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;