r3952 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Wed Mar 18 14:44:49 CET 2009
Author: phk
Date: 2009-03-18 14:44:49 +0100 (Wed, 18 Mar 2009)
New Revision: 3952
Modified:
trunk/varnish-cache/bin/varnishd/cache_vrt.c
Log:
Silence compiler about unused argument.
Modified: trunk/varnish-cache/bin/varnishd/cache_vrt.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt.c 2009-03-18 13:05:17 UTC (rev 3951)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt.c 2009-03-18 13:44:49 UTC (rev 3952)
@@ -625,6 +625,8 @@
const char*
VRT_r_server_identity(struct sess *sp)
{
+ (void)sp;
+
if (heritage.identity[0] != '\0')
return heritage.identity;
else
@@ -635,6 +637,8 @@
const char*
VRT_r_server_hostname(struct sess *sp)
{
+ (void)sp;
+
if (vrt_hostname[0] == '\0')
gethostname(vrt_hostname, 255);
More information about the varnish-commit
mailing list