Fix uninitialized usage warnings on MacOSX.

This commit is contained in:
Thilo Schulz 2008-04-09 22:20:04 +00:00
parent eb3b59308b
commit ca5fabe8c6

View file

@ -703,7 +703,7 @@ qboolean Sys_IsLANAddress( netadr_t adr ) {
addrsize = sizeof(adr.ip); addrsize = sizeof(adr.ip);
} }
else if(adr.type == NA_IP6) else
{ {
compareip = (byte *) &((struct sockaddr_in6 *) &localIP[index].addr)->sin6_addr; compareip = (byte *) &((struct sockaddr_in6 *) &localIP[index].addr)->sin6_addr;
comparemask = (byte *) &((struct sockaddr_in6 *) &localIP[index].netmask)->sin6_addr; comparemask = (byte *) &((struct sockaddr_in6 *) &localIP[index].netmask)->sin6_addr;