r2897 - trunk/varnish-cache/lib/libvcl

phk at projects.linpro.no phk at projects.linpro.no
Tue Jul 8 00:19:06 CEST 2008


Author: phk
Date: 2008-07-08 00:19:05 +0200 (Tue, 08 Jul 2008)
New Revision: 2897

Modified:
   trunk/varnish-cache/lib/libvcl/vcc_dir_random.c
Log:
Don't create an unnecessary fencepost member.



Modified: trunk/varnish-cache/lib/libvcl/vcc_dir_random.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_dir_random.c	2008-07-07 22:15:12 UTC (rev 2896)
+++ trunk/varnish-cache/lib/libvcl/vcc_dir_random.c	2008-07-07 22:19:05 UTC (rev 2897)
@@ -119,7 +119,6 @@
 		Fc(tl, 0, " },\n");
 		vcc_NextToken(tl);
 	}
-	Fc(tl, 0, "\t{ .host = 0 }\n");
 	Fc(tl, 0, "};\n");
 	Fc(tl, 0,
 	    "\nstatic const struct vrt_dir_random vdr_%.*s = {\n",




More information about the varnish-commit mailing list