Remove inactive code

This commit is contained in:
Arun Prakash Jana 2018-08-10 06:50:36 +05:30
parent 367e7425c0
commit a2caf24592
No known key found for this signature in database
GPG key ID: A75979F35C080412

20
nnn.c
View file

@ -1122,26 +1122,6 @@ filterentries(char *path)
redraw(path); redraw(path);
goto end; goto end;
#if 0
case CONTROL('L'): // fallthrough
case CONTROL('K'): // fallthrough
case CONTROL('Y'): // fallthrough
case CONTROL('_'): // fallthrough
case CONTROL('R'): // fallthrough
case CONTROL('O'): // fallthrough
case CONTROL('B'): // fallthrough
case CONTROL('V'): // fallthrough
case CONTROL('J'): // fallthrough
case CONTROL(']'): // fallthrough
case CONTROL('G'): // fallthrough
case CONTROL('X'): // fallthrough
case CONTROL('F'): // fallthrough
case CONTROL('I'): // fallthrough
case CONTROL('T'):
if (len == 1)
cur = oldcur;
goto end;
#endif
case '?': // '?' is an invalid regex, show help instead case '?': // '?' is an invalid regex, show help instead
if (len == 1) { if (len == 1) {
cur = oldcur; cur = oldcur;