r1460 - trunk/varnish-cache/bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Mon May 21 00:22:24 CEST 2007


Author: des
Date: 2007-05-21 00:22:24 +0200 (Mon, 21 May 2007)
New Revision: 1460

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_vcc.c
Log:
Silence a compiler warning that occurs with gcc 4.2.


Modified: trunk/varnish-cache/bin/varnishd/mgt_vcc.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_vcc.c	2007-05-20 18:12:33 UTC (rev 1459)
+++ trunk/varnish-cache/bin/varnishd/mgt_vcc.c	2007-05-20 22:22:24 UTC (rev 1460)
@@ -345,6 +345,7 @@
 		csrc = VCC_CompileFile(sb, f_arg);
 		if (csrc != NULL)
 			fputs(csrc, stdout);
+		vf = NULL;
 	} else {
 		vf = mgt_VccCompileFile(sb, f_arg);
 	}




More information about the varnish-commit mailing list