mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Remove redundant tmp assignment
This commit is contained in:
parent
2b79d237cc
commit
1338922697
|
@ -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 (!link_fn(pbuf, buf))
|
||||||
if (!r)
|
|
||||||
++count;
|
++count;
|
||||||
|
|
||||||
pos += len + 1;
|
pos += len + 1;
|
||||||
|
|
Loading…
Reference in a new issue