[quake3-commits] r2207 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Dec 8 17:53:58 EST 2011


Author: ztm
Date: 2011-12-08 17:53:58 -0500 (Thu, 08 Dec 2011)
New Revision: 2207

Modified:
   trunk/code/qcommon/net_ip.c
Log:
Removed an unused variable (which wasn't compiled in as _DEBUG isn't defined using make).

Modified: trunk/code/qcommon/net_ip.c
===================================================================
--- trunk/code/qcommon/net_ip.c	2011-12-08 22:25:25 UTC (rev 2206)
+++ trunk/code/qcommon/net_ip.c	2011-12-08 22:53:58 UTC (rev 2207)
@@ -520,20 +520,12 @@
 Receive one packet
 ==================
 */
-#ifdef _DEBUG
-int	recvfromCount;
-#endif
-
 qboolean NET_GetPacket(netadr_t *net_from, msg_t *net_message, fd_set *fdr)
 {
 	int 	ret;
 	struct sockaddr_storage from;
 	socklen_t	fromlen;
 	int		err;
-
-#ifdef _DEBUG
-	recvfromCount++;		// performance check
-#endif
 	
 	if(ip_socket != INVALID_SOCKET && FD_ISSET(ip_socket, fdr))
 	{



More information about the quake3-commits mailing list