mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 13:51:31 +00:00
Fix wrong lint report
This commit is contained in:
parent
22ccf5e2e6
commit
b87cdcde60
|
@ -4430,7 +4430,7 @@ static int dentfill(char *path, struct entry **dents)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (S_ISDIR(sb.st_mode)) {
|
if (S_ISDIR(sb.st_mode)) {
|
||||||
if (sb_path.st_dev == sb.st_dev) {
|
if (sb_path.st_dev == sb.st_dev) { // NOLINT
|
||||||
mkpath(path, namep, buf);
|
mkpath(path, namep, buf);
|
||||||
|
|
||||||
dir_blocks += dirwalk(buf, &sb);
|
dir_blocks += dirwalk(buf, &sb);
|
||||||
|
|
Loading…
Reference in a new issue