mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Ignore false lint issue
This commit is contained in:
parent
900b37c56c
commit
2a5f8433b8
|
@ -2897,7 +2897,7 @@ static size_t mkpath(const char *dir, const char *name, char *out)
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|
||||||
/* Handle absolute path */
|
/* Handle absolute path */
|
||||||
if (name[0] == '/')
|
if (name[0] == '/') // NOLINT
|
||||||
return xstrsncpy(out, name, PATH_MAX);
|
return xstrsncpy(out, name, PATH_MAX);
|
||||||
|
|
||||||
/* Handle root case */
|
/* Handle root case */
|
||||||
|
|
Loading…
Reference in a new issue