From a5c88d0e0d3d28ac04caf58f9260fca3dcb3f6bd Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Thu, 8 Dec 2011 22:53:58 +0000 Subject: [PATCH] Removed an unused variable (which wasn't compiled in as _DEBUG isn't defined using make). --- code/qcommon/net_ip.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c index f4cb9208..4a0960bb 100644 --- a/code/qcommon/net_ip.c +++ b/code/qcommon/net_ip.c @@ -520,20 +520,12 @@ NET_GetPacket 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)) {