]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix compilation error when FIFO is disabled
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 19 Jun 2021 15:34:21 +0000 (21:04 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 19 Jun 2021 15:34:21 +0000 (21:04 +0530)
src/nnn.c

index a8af17369b17adb9cba5543c735ad504920e98fc..f236a666b215c011da2607b4c2d4acd69992b2d3 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -6419,12 +6419,12 @@ nochange:
                                printwait(messages[MSG_UNSUPPORTED], &presel);
                                goto nochange;
                         }
-
+#ifndef NOFIFO
                        if (g_state.explorer && sel == SEL_OPEN) {
                                notify_fifo(TRUE, TRUE);
                                goto nochange;
                        }
-
+#endif
                        /* If opened as vim plugin and Enter/^M pressed, pick */
                        if (g_state.picker && sel == SEL_OPEN) {
                                appendfpath(newpath, mkpath(path, pent->name, newpath));