[master] 9b9498c Silence unused argument warning
Martin Blix Grydeland
martin at varnish-software.com
Tue Feb 25 15:58:40 CET 2014
commit 9b9498cc4bc933f43ab7aed3d0a7ff71bf622f07
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date: Tue Feb 25 11:50:44 2014 +0100
Silence unused argument warning
diff --git a/bin/varnishhist/varnishhist.c b/bin/varnishhist/varnishhist.c
index 87558e1..3cf128e 100644
--- a/bin/varnishhist/varnishhist.c
+++ b/bin/varnishhist/varnishhist.c
@@ -194,7 +194,10 @@ accumulate(struct VSL_data *vsl, struct VSL_transaction * const pt[],
unsigned tag, hit;
double value;
struct VSL_transaction *tr;
+
+ (void)vsl;
(void)priv;
+
for (tr = pt[0]; tr != NULL; tr = *++pt) {
value = -1;
hit = 0;
More information about the varnish-commit
mailing list