From: Stefan Beller Date: Tue, 20 Oct 2015 22:43:45 GMT Subject: [PATCH 3/8] run-command: Initialize the shutdown flag Message-ID: <1445381030-23912-4-git-send-email-sbeller@google.com> In-Reply-To: <1445381030-23912-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 a5ef874..d354c01 100644 --- a/run-command.c +++ b/run-command.c @@ -962,6 +962,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.275.gbfc1651.dirty