Remove redundant/unaccessed variable

This commit is contained in:
Arun Prakash Jana 2021-05-12 19:47:56 +05:30
parent 375d1057c1
commit 4a4628e2fc
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 2 deletions

View File

@ -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();