diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-04-09 22:20:04 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-04-09 22:20:04 +0000 |
commit | fd55fbe832148411137d50e2afa6ca2bc0197d0e (patch) | |
tree | ea830c69d10889baadf1cb954905cc95845dcea6 | |
parent | d07f81b00b41cf18a47fc70029bc1db85bc8c1a4 (diff) | |
download | ioquake3-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.c | 2 |
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; |