[master] 1c9bf69 Drop unused variable

Tollef Fog Heen tfheen at varnish-cache.org
Thu Oct 6 14:21:33 CEST 2011


commit 1c9bf690574fe2fdea90107d42bb45b21f773c7d
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Thu Oct 6 13:45:40 2011 +0200

    Drop unused variable

diff --git a/lib/libvarnishapi/vsl.c b/lib/libvarnishapi/vsl.c
index a34ea1e..8a54c9f 100644
--- a/lib/libvarnishapi/vsl.c
+++ b/lib/libvarnishapi/vsl.c
@@ -215,7 +215,6 @@ VSL_NextLog(const struct VSM_data *vd, uint32_t **pp, uint64_t *bits)
 	struct vsl *vsl;
 	uint32_t *p;
 	unsigned char t;
-	unsigned u;
 	int i;
 
 	CHECK_OBJ_NOTNULL(vd, VSM_MAGIC);
@@ -226,7 +225,6 @@ VSL_NextLog(const struct VSM_data *vd, uint32_t **pp, uint64_t *bits)
 		i = vsl_nextlog(vsl, &p);
 		if (i != 1)
 			return (i);
-		u = VSL_ID(p);
 		t = VSL_TAG(p);
 		if (vsl->skip) {
 			--vsl->skip;



More information about the varnish-commit mailing list