utils: lxc_popen() remove dead assignments

parent ad0b79f0
......@@ -494,7 +494,6 @@ extern struct lxc_popen_FILE *lxc_popen(const char *command)
int child_std_end = STDOUT_FILENO;
close(parent_end);
parent_end = -1;
if (child_end != child_std_end) {
/* dup2() doesn't dup close-on-exec flag */
......@@ -533,7 +532,6 @@ extern struct lxc_popen_FILE *lxc_popen(const char *command)
/* parent */
close(child_end);
child_end = -1;
if (child_pid < 0) {
ERROR("fork failure");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment