aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-04-09 22:20:04 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-04-09 22:20:04 +0000
commitfd55fbe832148411137d50e2afa6ca2bc0197d0e (patch)
treeea830c69d10889baadf1cb954905cc95845dcea6
parentd07f81b00b41cf18a47fc70029bc1db85bc8c1a4 (diff)
downloadioquake3-aero-fd55fbe832148411137d50e2afa6ca2bc0197d0e.tar.gz
ioquake3-aero-fd55fbe832148411137d50e2afa6ca2bc0197d0e.zip
Fix uninitialized usage warnings on MacOSX.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1306 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/qcommon/net_ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c
index e39351e..22c1273 100644
--- a/code/qcommon/net_ip.c
+++ b/code/qcommon/net_ip.c
@@ -703,7 +703,7 @@ qboolean Sys_IsLANAddress( netadr_t adr ) {
addrsize = sizeof(adr.ip);
}
- else if(adr.type == NA_IP6)
+ else
{
compareip = (byte *) &((struct sockaddr_in6 *) &localIP[index].addr)->sin6_addr;
comparemask = (byte *) &((struct sockaddr_in6 *) &localIP[index].netmask)->sin6_addr;