[tor-commits] [tor/master] Avoid compiler warning 'unused param'.
nickm at torproject.org
nickm at torproject.org
Mon Jul 15 16:06:52 UTC 2013
commit d0c0f050df84c35551d4ba4429b66b6cab578347
Author: Linus Nordberg <linus at torproject.org>
Date: Mon Jul 15 15:46:36 2013 +0200
Avoid compiler warning 'unused param'.
Fixes #9261.
---
src/test/test_circuitlist.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/test/test_circuitlist.c b/src/test/test_circuitlist.c
index 718f0cd..a233653 100644
--- a/src/test/test_circuitlist.c
+++ b/src/test/test_circuitlist.c
@@ -71,6 +71,8 @@ test_clist_maps(void *arg)
channel_t *ch3 = new_fake_channel();
or_circuit_t *or_c1=NULL, *or_c2=NULL;
+ (void) arg;
+
MOCK(circuitmux_attach_circuit, circuitmux_attach_mock);
MOCK(circuitmux_detach_circuit, circuitmux_detach_mock);
memset(&cam, 0, sizeof(cam));
More information about the tor-commits
mailing list