]> err.no Git - varnish/commitdiff
remove pointless assignment
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 21 Dec 2008 18:33:44 +0000 (18:33 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 21 Dec 2008 18:33:44 +0000 (18:33 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3489 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_dir_random.c

index f616efedee7e66a6774f7035d277a2158ad2cb5d..5640666bc3b8b65fccabf6130f2e62b15075ad67 100644 (file)
@@ -75,7 +75,6 @@ vdi_random_getfd(struct sess *sp)
        CHECK_OBJ_NOTNULL(sp->director, DIRECTOR_MAGIC);
        CAST_OBJ_NOTNULL(vs, sp->director->priv, VDI_RANDOM_MAGIC);
 
-       k = 0;
        for (k = 0; k < vs->retries; ) {
 
                /* Sum up the weights of healty backends */