[master] 539d018 Silence warning

Federico G. Schwindt fgsch at lodoss.net
Mon Feb 8 17:42:07 CET 2016


commit 539d01805c140f6652357328834371222decfa7f
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 1484e06..b759dcf 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