aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-06 21:28:59 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-06 21:28:59 +0530
commit2a5f8433b8e1677119e7587a9fdd02b391f62b9d (patch)
tree0adf178704c2ab4f435a3b0a89d7163134966ff4
parent900b37c56cd0e85af296935195effcf94564e58c (diff)
downloadnnn-2a5f8433b8e1677119e7587a9fdd02b391f62b9d.tar.gz
Ignore false lint issue
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 19a5ea5..466f625 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2897,7 +2897,7 @@ static size_t mkpath(const char *dir, const char *name, char *out)
size_t len;
/* Handle absolute path */
- if (name[0] == '/')
+ if (name[0] == '/') // NOLINT
return xstrsncpy(out, name, PATH_MAX);
/* Handle root case */