Remove redundant tmp assignment

This commit is contained in:
Arun Prakash Jana 2019-01-20 21:47:16 +05:30
parent 2b79d237cc
commit 1338922697
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -1527,8 +1527,7 @@ static int xlink(char *suffix, char *path, char *buf, int type)
r = mkpath(path, fname, buf, PATH_MAX);
xstrlcpy(buf + r - 1, suffix, PATH_MAX - r - 1);
r = link_fn(pbuf, buf);
if (!r)
if (!link_fn(pbuf, buf))
++count;
pos += len + 1;