[master] 3bb955ed2 Address a complaint by gcc4.7 on solaris vtesters

Nils Goroll nils.goroll at uplex.de
Thu Oct 31 13:38:04 UTC 2024


commit 3bb955ed2f2674f14f4f959d7e4c01a618fb4dbd
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Oct 31 14:37:20 2024 +0100

    Address a complaint by gcc4.7 on solaris vtesters

diff --git a/bin/varnishd/http1/cache_http1_fetch.c b/bin/varnishd/http1/cache_http1_fetch.c
index 2f431bd6d..474175ce0 100644
--- a/bin/varnishd/http1/cache_http1_fetch.c
+++ b/bin/varnishd/http1/cache_http1_fetch.c
@@ -69,7 +69,7 @@ V1F_SendReq(struct worker *wrk, struct busyobj *bo, uint64_t *ctr_hdrbytes,
 	ssize_t i;
 	uint64_t bytes, hdrbytes;
 	struct http_conn *htc;
-	struct vdp_ctx vdc[1] = { 0 };
+	struct vdp_ctx vdc[1] = {{ 0 }};
 	intmax_t cl;
 	const char *err = NULL;
 


More information about the varnish-commit mailing list