From: Stefan Beller Date: Mon, 19 Oct 2015 18:24:44 GMT Subject: [PATCH 3/5] run-command: Initialize the shutdown flag Message-ID: <1445279086-31066-4-git-send-email-sbeller@google.com> In-Reply-To: <1445279086-31066-1-git-send-email-sbeller@google.com> It did work out without initializing the flag so far, but to make it future proof, we want to explicitly initialize the flag. Signed-off-by: Stefan Beller --- run-command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/run-command.c b/run-command.c index b8b5747..108b930 100644 --- a/run-command.c +++ b/run-command.c @@ -956,6 +956,7 @@ static struct parallel_processes *pp_init(int n, pp->nr_processes = 0; pp->output_owner = 0; + pp->shutdown = 0; pp->children = xcalloc(n, sizeof(*pp->children)); pp->pfd = xcalloc(n, sizeof(*pp->pfd)); strbuf_init(&pp->buffered_output, 0); -- 2.5.0.285.g8fe9b61.dirty