fix compile warning on gcc7 (#32)

This commit is contained in:
Johnathan Jenkins 2017-05-29 10:51:44 -07:00 committed by Arun Prakash Jana
parent 16ec5d3351
commit 67b96d4f07
1 changed files with 2 additions and 2 deletions

4
nnn.c
View File

@ -1558,7 +1558,7 @@ nochange:
} }
/* Fall through to exit */ /* Fall through to exit */
} } // fallthrough
case SEL_QUIT: case SEL_QUIT:
dentfree(dents); dentfree(dents);
return; return;
@ -2082,7 +2082,7 @@ main(int argc, char *argv[])
while ((opt = getopt(argc, argv, "dSp:vh")) != -1) { while ((opt = getopt(argc, argv, "dSp:vh")) != -1) {
switch (opt) { switch (opt) {
case 'S': case 'S':
bsizeorder = 1; bsizeorder = 1; // fallthrough
case 'd': case 'd':
/* Open in detail mode, if set */ /* Open in detail mode, if set */
showdetail = 1; showdetail = 1;