aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */