]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix compilation warning
authorArun Prakash Jana <engineerarun@gmail.com>
Wed, 29 Sep 2021 08:58:16 +0000 (14:28 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Wed, 29 Sep 2021 08:58:16 +0000 (14:28 +0530)
src/nnn.c

index 9ad79e3439099c43e96d63378d9247f7fd85cb1e..88263beb995d74d7ca458bf387ee84d56b370fe8 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -452,7 +452,9 @@ static char *listroot;
 static char *plgpath;
 static char *pnamebuf, *pselbuf, *findselpos;
 static char *mark;
+#ifndef NOX11
 static char *hostname;
+#endif
 #ifndef NOFIFO
 static char *fifopath;
 #endif