[master] b8f33e0 Remove unused variable

Poul-Henning Kamp phk at varnish-cache.org
Wed Mar 2 14:06:18 CET 2011


commit b8f33e0f4b27f9056d12f2e419dde5d107ef2f60
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Mar 2 13:04:04 2011 +0000

    Remove unused variable

diff --git a/bin/varnishd/cache_vrt_vmod.c b/bin/varnishd/cache_vrt_vmod.c
index 8b1ed3e..0c74e02 100644
--- a/bin/varnishd/cache_vrt_vmod.c
+++ b/bin/varnishd/cache_vrt_vmod.c
@@ -69,7 +69,6 @@ VRT_Vmod_Init(void **hdl, void *ptr, int len, const char *nm, const char *path)
 	struct vmod *v;
 	void *x;
 	const int *i;
-	const char *p;
 
 	ASSERT_CLI();
 
@@ -91,7 +90,6 @@ VRT_Vmod_Init(void **hdl, void *ptr, int len, const char *nm, const char *path)
 
 		x = dlsym(v->hdl, "Vmod_Name");
 		AN(x);
-		p = x;
 
 		x = dlsym(v->hdl, "Vmod_Len");
 		AN(x);



More information about the varnish-commit mailing list