mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix a may-be-used-uninitialized warning.
This commit is contained in:
parent
b0b0d6af63
commit
804be10b09
@ -783,7 +783,7 @@ get_detached_sigs(networkstatus_t *ns, networkstatus_t *ns2)
|
||||
static vote_routerstatus_t *
|
||||
gen_routerstatus_for_v3ns(int idx, time_t now)
|
||||
{
|
||||
vote_routerstatus_t *vrs;
|
||||
vote_routerstatus_t *vrs=NULL;
|
||||
routerstatus_t *rs;
|
||||
tor_addr_t addr_ipv6;
|
||||
|
||||
@ -1715,7 +1715,7 @@ static uint32_t alternate_clip_bw = 0;
|
||||
static vote_routerstatus_t *
|
||||
gen_routerstatus_for_umbw(int idx, time_t now)
|
||||
{
|
||||
vote_routerstatus_t *vrs;
|
||||
vote_routerstatus_t *vrs = NULL;
|
||||
routerstatus_t *rs;
|
||||
tor_addr_t addr_ipv6;
|
||||
uint32_t max_unmeasured_bw = (alternate_clip_bw > 0) ?
|
||||
|
Loading…
Reference in New Issue
Block a user