mirror of
https://github.com/jarun/nnn.git
synced 2025-04-02 11:36:33 +00:00
Ignore false lint issue
This commit is contained in:
parent
900b37c56c
commit
2a5f8433b8
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue