Browse Source

fix compile warning on gcc7 (#32)

master
Johnathan Jenkins Arun Prakash Jana 8 years ago
parent
commit
67b96d4f07
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      nnn.c

+ 2
- 2
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;


Loading…
Cancel
Save