r3953 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Wed Mar 18 14:45:59 CET 2009


Author: phk
Date: 2009-03-18 14:45:59 +0100 (Wed, 18 Mar 2009)
New Revision: 3953

Modified:
   trunk/varnish-cache/bin/varnishd/varnishd.c
Log:
Unused variable



Modified: trunk/varnish-cache/bin/varnishd/varnishd.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/varnishd.c	2009-03-18 13:44:49 UTC (rev 3952)
+++ trunk/varnish-cache/bin/varnishd/varnishd.c	2009-03-18 13:45:59 UTC (rev 3953)
@@ -578,8 +578,8 @@
 
 
 	if (i_arg != NULL) {
-		size_t len;
-		if (snprintf(heritage.identity, sizeof heritage.identity, "%s", i_arg) > sizeof heritage.identity) {
+		if (snprintf(heritage.identity, sizeof heritage.identity,
+		    "%s", i_arg) > sizeof heritage.identity) {
 			fprintf(stderr, "Invalid identity name: %s\n",
 			    strerror(ENAMETOOLONG));
 			exit(1);



More information about the varnish-commit mailing list