mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
r13836@catbus: nickm | 2007-07-19 15:43:04 -0400
Some older GCCs think that iph4 could be used uninitialized. Fix that. svn:r10882
This commit is contained in:
parent
4a240552c4
commit
679b55eb1f
@ -1842,7 +1842,7 @@ is_internal_IP(uint32_t ip, int for_listening)
|
||||
int
|
||||
tor_addr_is_internal(const tor_addr_t *addr, int for_listening)
|
||||
{
|
||||
uint32_t iph4;
|
||||
uint32_t iph4 = 0;
|
||||
uint32_t iph6[4];
|
||||
sa_family_t v_family;
|
||||
v_family = IN_FAMILY(addr);
|
||||
|
Loading…
Reference in New Issue
Block a user