mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Fix dead assignment warning in test_hs_service.c
This commit is contained in:
parent
f50558ce8c
commit
d58a597a55
@ -1396,7 +1396,6 @@ static void
|
||||
test_build_update_descriptors(void *arg)
|
||||
{
|
||||
int ret;
|
||||
time_t now = time(NULL);
|
||||
node_t *node;
|
||||
hs_service_t *service;
|
||||
hs_service_intro_point_t *ip_cur, *ip_next;
|
||||
@ -1422,7 +1421,8 @@ test_build_update_descriptors(void *arg)
|
||||
voting_schedule_recalculate_timing(get_options(), mock_ns.valid_after);
|
||||
|
||||
update_approx_time(mock_ns.valid_after+1);
|
||||
now = mock_ns.valid_after+1;
|
||||
|
||||
time_t now = mock_ns.valid_after+1;
|
||||
|
||||
/* Create a service without a current descriptor to trigger a build. */
|
||||
service = helper_create_service();
|
||||
|
Loading…
Reference in New Issue
Block a user