commit b24a16e56e08c9b8ab4e4ab1d06e306cb474567c Author: Ola Bini ola@olabini.se Date: Tue Jan 12 11:53:07 2016 -0500
Make it compile with gcc-warnings turned on --- src/test/test_dir.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/test/test_dir.c b/src/test/test_dir.c index 9be7e0d..a350f1d 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 }; -