]> Sergey Matveev's repositories - nnn.git/commitdiff
Remove inactive code
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 10 Aug 2018 01:20:36 +0000 (06:50 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 10 Aug 2018 01:20:36 +0000 (06:50 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index 4d69047a678301dab0767400f65ae829c2ba3ddc..e8edbe8744f9f7486ea1beb720ea644bb1cddb40 100644 (file)
--- a/nnn.c
+++ b/nnn.c
@@ -1122,26 +1122,6 @@ filterentries(char *path)
 
                                redraw(path);
                                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
                                if (len == 1) {
                                        cur = oldcur;