aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@torproject.org>2013-07-15 15:46:36 +0200
committerLinus Nordberg <linus@torproject.org>2013-07-15 15:46:36 +0200
commitd0c0f050df84c35551d4ba4429b66b6cab578347 (patch)
tree792dd18097fdb2f754acea71c35d720acac84677
parentec6c155f827000e337796f1f1c54299fbc5cf72a (diff)
downloadtor-d0c0f050df84c35551d4ba4429b66b6cab578347.tar
tor-d0c0f050df84c35551d4ba4429b66b6cab578347.tar.gz
Avoid compiler warning 'unused param'.
Fixes #9261.
-rw-r--r--src/test/test_circuitlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_circuitlist.c b/src/test/test_circuitlist.c
index 718f0cda5..a233653e1 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));