diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-07-19 19:43:08 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-07-19 19:43:08 +0000 |
commit | 679b55eb1f468d7ce0de4d6945226bc99b1af04d (patch) | |
tree | a1a9514e19800393af4f9616aee0e18b2d239e44 /src/common | |
parent | 4a240552c4ea837e174f37e04a19fb9f01e03d6d (diff) | |
download | tor-679b55eb1f468d7ce0de4d6945226bc99b1af04d.tar.gz tor-679b55eb1f468d7ce0de4d6945226bc99b1af04d.zip |
r13836@catbus: nickm | 2007-07-19 15:43:04 -0400
Some older GCCs think that iph4 could be used uninitialized. Fix that.
svn:r10882
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index 099d87bd23..05e538c46d 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -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); |