diff --git a/src/exec.cpp b/src/exec.cpp index 4e2f3ed95..91cf99cd6 100644 --- a/src/exec.cpp +++ b/src/exec.cpp @@ -609,7 +609,6 @@ void exec_job(parser_t &parser, job_t *j) { // // We are careful to set these to -1 when closed, so if we exit the loop abruptly, we can still // close them. - bool pgrp_set = false; int pipe_current_read = -1, pipe_current_write = -1, pipe_next_read = -1; for (std::unique_ptr &unique_p : j->processes) { if (exec_error) {