From e84d525509181a796c9aa36f8739c4b350e88374 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 21 Dec 2008 18:33:44 +0000 Subject: [PATCH] remove pointless assignment 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 | 1 - 1 file changed, 1 deletion(-) 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 */ -- 2.39.5