aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_dir.c
diff options
context:
space:
mode:
authorOla Bini <ola@olabini.se>2016-01-12 11:53:07 -0500
committerOla Bini <ola@olabini.se>2016-01-12 11:53:07 -0500
commitb24a16e56e08c9b8ab4e4ab1d06e306cb474567c (patch)
treeb5688bf76cdf3b5f91f17e46fa0d9513bb177568 /src/test/test_dir.c
parentd5e860e3dca8cd9159e17555541262c828d05976 (diff)
downloadtor-b24a16e56e08c9b8ab4e4ab1d06e306cb474567c.tar.gz
tor-b24a16e56e08c9b8ab4e4ab1d06e306cb474567c.zip
Make it compile with gcc-warnings turned on
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r--src/test/test_dir.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 9be7e0de6b..a350f1d017 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -3761,6 +3761,14 @@ NS(directory_initiate_command_routerstatus)(const routerstatus_t *status,
size_t payload_len,
time_t if_modified_since)
{
+ (void)status;
+ (void)dir_purpose;
+ (void)router_purpose;
+ (void)indirection;
+ (void)resource;
+ (void)payload;
+ (void)payload_len;
+ (void)if_modified_since;
CALLED(directory_initiate_command_routerstatus)++;
}
@@ -3863,4 +3871,3 @@ struct testcase_t dir_tests[] = {
DIR(find_dl_schedule_and_len, 0),
END_OF_TESTCASES
};
-