[4.1] 0b30502 Silence warning

Lasse Karstensen lkarsten at varnish-software.com
Thu Feb 11 17:14:33 CET 2016


commit 0b3050264a075a7d24395e60ae9c7227b4452cf5
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Mon Feb 8 16:36:56 2016 +0000

    Silence warning

diff --git a/bin/varnishd/mgt/mgt_child.c b/bin/varnishd/mgt/mgt_child.c
index a5e432e..f7b3732 100644
--- a/bin/varnishd/mgt/mgt_child.c
+++ b/bin/varnishd/mgt/mgt_child.c
@@ -455,7 +455,7 @@ mgt_reap_child(void)
 	int i;
 	int status;
 	struct vsb *vsb;
-	pid_t r;
+	pid_t r = 0;
 
 	assert(child_pid != -1);
 



More information about the varnish-commit mailing list