]> err.no Git - varnish/commitdiff
Unused variable
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 15 Feb 2008 13:32:41 +0000 (13:32 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 15 Feb 2008 13:32:41 +0000 (13:32 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2488 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_expire.c

index 186188e28e5f94af39b7ef3fc0a6720b452bda80..5381a7012f707ef784a0eb9121eca6386c98c72b 100644 (file)
@@ -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;