From: phk Date: Fri, 15 Feb 2008 13:32:41 +0000 (+0000) Subject: Unused variable X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed7f9351370540362b6a716b19924b2606ded150;p=varnish Unused variable git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2488 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_expire.c b/varnish-cache/bin/varnishd/cache_expire.c index 186188e2..5381a701 100644 --- a/varnish-cache/bin/varnishd/cache_expire.c +++ b/varnish-cache/bin/varnishd/cache_expire.c @@ -70,9 +70,7 @@ static const unsigned lru_target = (unsigned)(-3); 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;