Fix dead-assignment warning in test_shared_random.c

This commit is contained in:
Nick Mathewson 2018-12-17 09:27:40 -05:00
parent 82fb40c8dc
commit f50558ce8c

View File

@ -309,6 +309,7 @@ test_get_start_time_of_current_run(void *arg)
retval = parse_rfc1123_time("Mon, 19 Apr 2015 23:00:00 UTC",
&mock_consensus.valid_after);
tt_int_op(retval, OP_EQ, 0);
retval = parse_rfc1123_time("Mon, 20 Apr 2015 00:08:00 UTC",
&current_time);