Browse Source

Remove redundant tmp assignment

master
Arun Prakash Jana 5 years ago
parent
commit
1338922697
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/nnn.c

+ 1
- 2
src/nnn.c View File

@@ -1527,8 +1527,7 @@ static int xlink(char *suffix, char *path, char *buf, int type)
r = mkpath(path, fname, buf, PATH_MAX); r = mkpath(path, fname, buf, PATH_MAX);
xstrlcpy(buf + r - 1, suffix, PATH_MAX - r - 1); xstrlcpy(buf + r - 1, suffix, PATH_MAX - r - 1);


r = link_fn(pbuf, buf);
if (!r)
if (!link_fn(pbuf, buf))
++count; ++count;


pos += len + 1; pos += len + 1;


Loading…
Cancel
Save