From fc86152fa278e8c0393aaa5d6ae05614ccc70999 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 29 Sep 2021 14:28:16 +0530 Subject: [PATCH] Fix compilation warning --- src/nnn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nnn.c b/src/nnn.c index 9ad79e343..88263beb9 100644 --- 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