diff options
author | 2019-03-14 20:15:59 +0530 | |
---|---|---|
committer | 2019-03-14 20:15:59 +0530 | |
commit | 47d35e13962b64344806ce94413bc8a8f5be3707 (patch) | |
tree | 46c152515c555a15710bcf21dfd02e1fbd1387df /src | |
parent | 9df78b4e0b023fbf73559a78a129946dab9200d2 (diff) | |
download | nnn-47d35e13962b64344806ce94413bc8a8f5be3707.tar.gz |
Remove redundant check
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -3475,8 +3475,7 @@ nochange: appendfpath(newpath, r); writecp(newpath, r - 1); /* Truncate NULL from end */ - if (copier) - spawn(copier, NULL, NULL, NULL, F_NOTRACE); + spawn(copier, NULL, NULL, NULL, F_NOTRACE); } dents[cur].flags |= FILE_COPIED; @@ -3537,8 +3536,7 @@ nochange: if (copybufpos) { /* File path(s) written to the buffer */ writecp(pcopybuf, copybufpos - 1); /* Truncate NULL from end */ - if (copier) - spawn(copier, NULL, NULL, NULL, F_NOTRACE); + spawn(copier, NULL, NULL, NULL, F_NOTRACE); if (ncp) { /* Some files cherry picked */ mvprintw(xlines - 1, 0, "%d selected\n", ncp); |