diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-01-20 21:47:16 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-01-20 21:47:16 +0530 |
commit | 1338922697f48ab1992d129224bfac83f10bb0a1 (patch) | |
tree | a145b2a6b281908cf3d228fab126688100eb1cc1 /src | |
parent | 2b79d237ccbbff19e226257fef35edfe228623e5 (diff) | |
download | nnn-1338922697f48ab1992d129224bfac83f10bb0a1.tar.gz |
Remove redundant tmp assignment
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |