r2488 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Fri Feb 15 14:32:41 CET 2008


Author: phk
Date: 2008-02-15 14:32:41 +0100 (Fri, 15 Feb 2008)
New Revision: 2488

Modified:
   trunk/varnish-cache/bin/varnishd/cache_expire.c
Log:
Unused variable


Modified: trunk/varnish-cache/bin/varnishd/cache_expire.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_expire.c	2008-02-15 13:32:04 UTC (rev 2487)
+++ trunk/varnish-cache/bin/varnishd/cache_expire.c	2008-02-15 13:32:41 UTC (rev 2488)
@@ -70,9 +70,7 @@
 static void
 update_object_when(struct object *o)
 {
-	double w;
 
-	w = o->ttl;
 	if (o->prefetch < 0.0) {
 		o->timer_when = o->ttl + o->prefetch;
 		o->timer_what = TIMER_PREFETCH;




More information about the varnish-commit mailing list