[master] f0ff676 Initialize a variable to quieten down compilers and FlexeLint

Poul-Henning Kamp phk at FreeBSD.org
Tue Feb 9 01:19:11 CET 2016


commit f0ff676fe738e41ccd9e02abdff6936b83b4ce6f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Feb 8 20:45:18 2016 +0000

    Initialize a variable to quieten down compilers and FlexeLint

diff --git a/bin/varnishd/mgt/mgt_child.c b/bin/varnishd/mgt/mgt_child.c
index b759dcf..e484252 100644
--- a/bin/varnishd/mgt/mgt_child.c
+++ b/bin/varnishd/mgt/mgt_child.c
@@ -453,7 +453,7 @@ static void
 mgt_reap_child(void)
 {
 	int i;
-	int status;
+	int status = 0xffff;
 	struct vsb *vsb;
 	pid_t r = 0;
 



More information about the varnish-commit mailing list