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:
Nick Mathewson 2007-07-19 19:43:08 +00:00
parent 4a240552c4
commit 679b55eb1f

View File

@ -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);