Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Commits

[master] 5454314 Remove now unused ws variable.

 

 

Varnish commits RSS feed   Index | Next | Previous | View Threaded


phk at varnish-cache

Feb 8, 2012, 3:43 PM

Post #1 of 1 (24 views)
Permalink
[master] 5454314 Remove now unused ws variable.

commit 54543147bf099e71c9a3094c838911d6d3228c8d
Author: Poul-Henning Kamp <phk [at] FreeBSD>
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;

_______________________________________________
varnish-commit mailing list
varnish-commit [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit

Varnish commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.