diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test.c | 5 | ||||
-rw-r--r-- | src/test/test_dir.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/test/test.c b/src/test/test.c index 2d396b581..5a37f1da8 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -485,7 +485,6 @@ test_circuit_timeout(void) circuit_build_times_t final; double timeout1, timeout2; or_state_t state; - char *msg; int i, runs; double close_ms; circuit_build_times_init(&initial); @@ -525,7 +524,7 @@ test_circuit_timeout(void) test_assert(estimate.total_build_times <= CBT_NCIRCUITS_TO_OBSERVE); circuit_build_times_update_state(&estimate, &state); - test_assert(circuit_build_times_parse_state(&final, &state, &msg) == 0); + test_assert(circuit_build_times_parse_state(&final, &state) == 0); circuit_build_times_update_alpha(&final); timeout2 = circuit_build_times_calculate_timeout(&final, @@ -627,7 +626,7 @@ test_circuit_timeout(void) circuit_build_times_count_timeout(&final, 1); } -done: + done: return; } diff --git a/src/test/test_dir.c b/src/test/test_dir.c index a129bf977..80d2379de 100644 --- a/src/test/test_dir.c +++ b/src/test/test_dir.c @@ -580,7 +580,7 @@ test_dir_measured_bw(void) "557365204145532d32353620696e73746561642e") == 0); } -done: + done: return; } |