From ca5fabe8c67d66c10e070940f80d18e7c89b3191 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Wed, 9 Apr 2008 22:20:04 +0000 Subject: [PATCH] Fix uninitialized usage warnings on MacOSX. --- code/qcommon/net_ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c index e39351e8..22c12733 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;