mirror of
https://github.com/jarun/nnn.git
synced 2025-03-18 20:39:45 +00:00
fix compile warning on gcc7 (#32)
This commit is contained in:
parent
16ec5d3351
commit
67b96d4f07
1 changed files with 2 additions and 2 deletions
4
nnn.c
4
nnn.c
|
@ -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…
Add table
Reference in a new issue