From: phk Date: Sun, 21 Dec 2008 18:33:44 +0000 (+0000) Subject: remove pointless assignment X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e84d525509181a796c9aa36f8739c4b350e88374;p=varnish remove pointless assignment git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3489 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_dir_random.c b/varnish-cache/bin/varnishd/cache_dir_random.c index f616efed..5640666b 100644 --- a/varnish-cache/bin/varnishd/cache_dir_random.c +++ b/varnish-cache/bin/varnishd/cache_dir_random.c @@ -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 */