mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Fix dead-assignment warning in test_shared_random.c
This commit is contained in:
parent
82fb40c8dc
commit
f50558ce8c
@ -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",
|
retval = parse_rfc1123_time("Mon, 19 Apr 2015 23:00:00 UTC",
|
||||||
&mock_consensus.valid_after);
|
&mock_consensus.valid_after);
|
||||||
|
tt_int_op(retval, OP_EQ, 0);
|
||||||
|
|
||||||
retval = parse_rfc1123_time("Mon, 20 Apr 2015 00:08:00 UTC",
|
retval = parse_rfc1123_time("Mon, 20 Apr 2015 00:08:00 UTC",
|
||||||
¤t_time);
|
¤t_time);
|
||||||
|
Loading…
Reference in New Issue
Block a user