[6.1] 3acda6314 It's nice to know I'm still smarter than gcc

hermunn hermunn at varnish-software.com
Wed Oct 24 09:29:19 UTC 2018


commit 3acda6314c686d1f8feff0ad97a3442a2f0f7dbb
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Oct 3 13:34:33 2018 +0000

    It's nice to know I'm still smarter than gcc

diff --git a/bin/varnishd/cache/cache_wrk.c b/bin/varnishd/cache/cache_wrk.c
index 74c9bd4ba..ad1fe08f6 100644
--- a/bin/varnishd/cache/cache_wrk.c
+++ b/bin/varnishd/cache/cache_wrk.c
@@ -490,7 +490,7 @@ pool_herder(void *priv)
 	double delay;
 	int wthread_min;
 	uintmax_t dq = (1ULL << 31);
-	double dqt;
+	double dqt = 0;
 
 	CAST_OBJ_NOTNULL(pp, priv, POOL_MAGIC);
 


More information about the varnish-commit mailing list