summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorSteven Murdoch <Steven.Murdoch@cl.cam.ac.uk>2011-08-22 18:13:58 +0100
committerSteven Murdoch <Steven.Murdoch@cl.cam.ac.uk>2011-08-22 18:13:58 +0100
commitf46f6aabb4da8d7c185bf46cb05a9469ca1f11df (patch)
tree2129372187cd47f54fb41bf0e71337ac3a399c48 /src/test
parenta78ffd9e45a270b9979dcdc0d376f33bd95d7f09 (diff)
downloadtor-f46f6aabb4da8d7c185bf46cb05a9469ca1f11df.tar.gz
tor-f46f6aabb4da8d7c185bf46cb05a9469ca1f11df.zip
Fix some compiler warnings
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index 6f875606ec..40de76ac3b 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -1493,6 +1493,8 @@ test_util_spawn_background_partial_read(void *ptr)
process_handle_t process_handle;
char stdout_buf[100], stderr_buf[100];
+ (void)ptr;
+
/* Start the program */
process_handle = tor_spawn_background(argv[0], argv);
tt_int_op(process_handle.status, ==, expected_status);