diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-05-08 13:16:08 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-05-08 13:16:08 -0400 |
commit | df684789380a51c9de14120160adfb796d891436 (patch) | |
tree | cbbfc36528d703063ab426d51e3b76105e0d23e5 /src/test/test_buffers.c | |
parent | 5bb617236704be189e68c713d95dac002912a219 (diff) | |
download | tor-df684789380a51c9de14120160adfb796d891436.tar.gz tor-df684789380a51c9de14120160adfb796d891436.zip |
Fix unearthed problems in unit tests
Diffstat (limited to 'src/test/test_buffers.c')
-rw-r--r-- | src/test/test_buffers.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test_buffers.c b/src/test/test_buffers.c index 78b3aead60..61ac5bc36b 100644 --- a/src/test/test_buffers.c +++ b/src/test/test_buffers.c @@ -663,8 +663,6 @@ test_buffers_zlib_fin_with_nil(void *arg) static void test_buffers_zlib_fin_at_chunk_end(void *arg) { - (void) arg; - char *msg = NULL; char *contents = NULL; char *expanded = NULL; @@ -672,6 +670,7 @@ test_buffers_zlib_fin_at_chunk_end(void *arg) tor_zlib_state_t *zlib_state = NULL; size_t out_len, in_len; size_t sz, headerjunk; + (void) arg; buf = buf_new_with_capacity(128); /* will round up */ sz = buf_get_default_chunk_size(buf); |