]> Sergey Matveev's repositories - nnn.git/commitdiff
No need to initialize sel
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 1 Dec 2018 01:53:29 +0000 (07:23 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 1 Dec 2018 01:53:29 +0000 (07:23 +0530)
src/nnn.c

index 147a35469447f294e64fc085e479c560ecffe0d4..8a4c3f365c4dedc4cc248a446c757f0743cafdef 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2538,7 +2538,7 @@ static void browse(char *ipath)
        char *dir, *tmp, *run = NULL, *env = NULL;
        struct stat sb;
        int r, fd, presel, ncp = 0, copystartid = 0, copyendid = 0;
-       enum action sel = SEL_RUNARG + 1;
+       enum action sel;
        bool dir_changed = FALSE;
 
        /* setup first context */