r1306 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Apr 9 18:20:04 EDT 2008


Author: thilo
Date: 2008-04-09 18:20:04 -0400 (Wed, 09 Apr 2008)
New Revision: 1306

Modified:
   trunk/code/qcommon/net_ip.c
Log:
Fix uninitialized usage warnings on MacOSX.


Modified: trunk/code/qcommon/net_ip.c
===================================================================
--- trunk/code/qcommon/net_ip.c	2008-04-09 14:37:42 UTC (rev 1305)
+++ trunk/code/qcommon/net_ip.c	2008-04-09 22:20:04 UTC (rev 1306)
@@ -703,7 +703,7 @@
 				
 				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;




More information about the quake3-commits mailing list