r3679 - branches/2.0/varnish-cache/bin/varnishd

tfheen at projects.linpro.no tfheen at projects.linpro.no
Fri Feb 6 15:31:33 CET 2009


Author: tfheen
Date: 2009-02-06 15:31:33 +0100 (Fri, 06 Feb 2009)
New Revision: 3679

Modified:
   branches/2.0/varnish-cache/bin/varnishd/cache_dir_random.c
Log:
Merge r3489: remove pointless assignment



Modified: branches/2.0/varnish-cache/bin/varnishd/cache_dir_random.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/cache_dir_random.c	2009-02-06 14:27:47 UTC (rev 3678)
+++ branches/2.0/varnish-cache/bin/varnishd/cache_dir_random.c	2009-02-06 14:31:33 UTC (rev 3679)
@@ -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