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

4
nnn.c
View file

@ -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;