[master] cdd6f8a Try to explain a temporary hack to gcc

Poul-Henning Kamp phk at FreeBSD.org
Tue Aug 30 13:57:09 CEST 2016


commit cdd6f8aac1e29220fbcad7882d28402534b06ff8
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Aug 30 11:56:10 2016 +0000

    Try to explain a temporary hack to gcc

diff --git a/bin/varnishd/http2/cache_http2_deliver.c b/bin/varnishd/http2/cache_http2_deliver.c
index 9446227..14b3d8a 100644
--- a/bin/varnishd/http2/cache_http2_deliver.c
+++ b/bin/varnishd/http2/cache_http2_deliver.c
@@ -219,6 +219,7 @@ h2_deliver(struct req *req, struct boc *boc, int sendbody)
 
 	if (sendbody && req->resp_len != 0)
 		err = VDP_DeliverObj(req);
+	/*XXX*/(void)err;
 
 	H2_Send(req->wrk, r2, 1, H2_FRAME_DATA, H2FF_DATA_END_STREAM, 0, NULL);
 



More information about the varnish-commit mailing list