[6.0] 2c9f3d157 It's nice to know I'm still smarter than gcc

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Oct 31 13:08:26 UTC 2018


commit 2c9f3d157ec1ba8de473d60b4f08b9d7dfbda004
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 f7f95cfc5..3d4411cb4 100644
--- a/bin/varnishd/cache/cache_wrk.c
+++ b/bin/varnishd/cache/cache_wrk.c
@@ -489,7 +489,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