nnn

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

commit 4a4628e2fc4478df9fbbf21f30e12c782bbd2c96
parent 375d1057c1fbaba026be54779d7ba68c6b62c2a9
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Wed, 12 May 2021 19:47:56 +0530

Remove redundant/unaccessed variable

Diffstat:
Msrc/nnn.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -4785,7 +4785,6 @@ static void readpipe(int fd, char **path, char **lastname, char **lastdir) static bool run_selected_plugin(char **path, const char *file, char *runfile, char **lastname, char **lastdir) { - int status; pid_t p; bool cmd_as_plugin = FALSE; uchar_t flags = 0; @@ -4855,7 +4854,7 @@ static bool run_selected_plugin(char **path, const char *file, char *runfile, ch close(rfd); /* wait for the child to finish. no zombies allowed */ - waitpid(p, &status, 0); + waitpid(p, &rfd, 0); refresh();