[master] cd64cd8 Remove unused variable

Poul-Henning Kamp phk at FreeBSD.org
Mon Oct 20 12:15:00 CEST 2014


commit cd64cd802a5f4c50d5a813f829d9e5e414b6cd81
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Oct 20 10:14:20 2014 +0000

    Remove unused variable

diff --git a/bin/varnishd/http1/cache_http1_deliver.c b/bin/varnishd/http1/cache_http1_deliver.c
index 7759581..83883f3 100644
--- a/bin/varnishd/http1/cache_http1_deliver.c
+++ b/bin/varnishd/http1/cache_http1_deliver.c
@@ -232,7 +232,6 @@ V1D_Deliver(struct req *req, struct busyobj *bo)
 {
 	const char *r;
 	enum objiter_status ois;
-	ssize_t l;
 
 	CHECK_OBJ_NOTNULL(req, REQ_MAGIC);
 	CHECK_OBJ_NOTNULL(req->objcore, OBJCORE_MAGIC);
@@ -337,7 +336,6 @@ V1D_Deliver(struct req *req, struct busyobj *bo)
 	} else if (req->res_mode & RES_ESI) {
 		ESI_Deliver(req);
 	} else if (req->res_mode & RES_ESI_CHILD && req->gzip_resp) {
-		l = -1;
 		if (bo != NULL)
 			VBO_waitstate(bo, BOS_FINISHED);
 		ESI_DeliverChild(req);



More information about the varnish-commit mailing list