nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 47d35e13962b64344806ce94413bc8a8f5be3707
parent 9df78b4e0b023fbf73559a78a129946dab9200d2
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Thu, 14 Mar 2019 20:15:59 +0530

Remove redundant check

Diffstat:
Msrc/nnn.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -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);