r3489 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sun Dec 21 19:33:44 CET 2008


Author: phk
Date: 2008-12-21 19:33:44 +0100 (Sun, 21 Dec 2008)
New Revision: 3489

Modified:
   trunk/varnish-cache/bin/varnishd/cache_dir_random.c
Log:
remove pointless assignment



Modified: trunk/varnish-cache/bin/varnishd/cache_dir_random.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_dir_random.c	2008-12-21 18:33:30 UTC (rev 3488)
+++ trunk/varnish-cache/bin/varnishd/cache_dir_random.c	2008-12-21 18:33:44 UTC (rev 3489)
@@ -75,7 +75,6 @@
 	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 */



More information about the varnish-commit mailing list