[experimental-ims] 5454314 Remove now unused ws variable.

Geoff Simmons geoff at varnish-cache.org
Tue Feb 14 17:49:23 CET 2012


commit 54543147bf099e71c9a3094c838911d6d3228c8d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Feb 8 23:26:19 2012 +0000

    Remove now unused ws variable.

diff --git a/bin/varnishd/cache/cache_gzip.c b/bin/varnishd/cache/cache_gzip.c
index 6064f67..9d81f62 100644
--- a/bin/varnishd/cache/cache_gzip.c
+++ b/bin/varnishd/cache/cache_gzip.c
@@ -73,11 +73,8 @@ static struct vgz *
 vgz_alloc_vgz(struct worker *wrk, const char *id)
 {
 	struct vgz *vg;
-	struct ws *ws;
 
 	CHECK_OBJ_NOTNULL(wrk, WORKER_MAGIC);
-	ws = wrk->ws;
-	WS_Assert(ws);
 	ALLOC_OBJ(vg, VGZ_MAGIC);
 	AN(vg);
 	vg->wrk = wrk;



More information about the varnish-commit mailing list