[4.0] ac8c50e Don't trigger unused variables warnings
Martin Blix Grydeland
martin at varnish-software.com
Thu Mar 13 10:24:22 CET 2014
commit ac8c50e163b192f2520800a217e2bac13021b9d7
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date: Wed Jan 29 11:32:00 2014 +0100
Don't trigger unused variables warnings
diff --git a/bin/varnishtop/varnishtop.c b/bin/varnishtop/varnishtop.c
index 8be6c36..e79f682 100644
--- a/bin/varnishtop/varnishtop.c
+++ b/bin/varnishtop/varnishtop.c
@@ -121,6 +121,8 @@ accumulate(struct VSL_data *vsl, struct VSL_transaction * const pt[],
const char *b, *e, *p;
unsigned len;
+ (void)vsl;
+ (void)priv;
struct VSL_transaction *tr;
for (tr = pt[0]; tr != NULL; tr = *++pt) {
while ((1 == VSL_Next(tr->c))) {
More information about the varnish-commit
mailing list