From b41189313731729db7b7dcdea56f0b91aa1ec5ed Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 24 Feb 2019 09:28:17 +0530 Subject: [PATCH] Fix checkpatch warning --- src/nnn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nnn.c b/src/nnn.c index a273c825..f64804be 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3427,6 +3427,7 @@ nochange: case SEL_NOTE: { static char *notepath; + notepath = notepath ? notepath : getenv(env_cfg[NNN_NOTE]); if (!notepath) { printmsg("set NNN_NOTE");