mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Remove redundant/unaccessed variable
This commit is contained in:
parent
375d1057c1
commit
4a4628e2fc
|
@ -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)
|
static bool run_selected_plugin(char **path, const char *file, char *runfile, char **lastname, char **lastdir)
|
||||||
{
|
{
|
||||||
int status;
|
|
||||||
pid_t p;
|
pid_t p;
|
||||||
bool cmd_as_plugin = FALSE;
|
bool cmd_as_plugin = FALSE;
|
||||||
uchar_t flags = 0;
|
uchar_t flags = 0;
|
||||||
|
@ -4855,7 +4854,7 @@ static bool run_selected_plugin(char **path, const char *file, char *runfile, ch
|
||||||
close(rfd);
|
close(rfd);
|
||||||
|
|
||||||
/* wait for the child to finish. no zombies allowed */
|
/* wait for the child to finish. no zombies allowed */
|
||||||
waitpid(p, &status, 0);
|
waitpid(p, &rfd, 0);
|
||||||
|
|
||||||
refresh();
|
refresh();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue