From: Arun Prakash Jana Date: Tue, 19 Nov 2019 20:04:07 +0000 (+0530) Subject: Fix lint error X-Git-Tag: v2.8~54 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=cc3702b2e129e92eb8082a306ad3a79acc908450;p=nnn.git Fix lint error --- diff --git a/src/nnn.c b/src/nnn.c index 341a78e2..1023e166 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -1363,8 +1363,9 @@ static bool xmkentryp(char* path, bool dir) DPRINTF_S("open fail"); DPRINTF_S(strerror(errno)); return FALSE; - } else - close(fd); + } + + close(fd); } return TRUE;