summaryrefslogtreecommitdiff
path: root/src/qcommon/net_ip.c
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2011-12-08 22:53:58 +0000
committerTim Angus <tim@ngus.net>2013-01-12 20:16:45 +0000
commit197799b06278e323bc5f79e46c2573842d8f941b (patch)
tree58b342479dc5859735256cbb39aa195c3595ca3f /src/qcommon/net_ip.c
parent6543d62a6d41d62071cac9434e6ba6c2ce875e8a (diff)
Removed an unused variable (which wasn't compiled in as _DEBUG isn't defined using make).
Diffstat (limited to 'src/qcommon/net_ip.c')
-rw-r--r--src/qcommon/net_ip.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/qcommon/net_ip.c b/src/qcommon/net_ip.c
index 10d308f5..64717856 100644
--- a/src/qcommon/net_ip.c
+++ b/src/qcommon/net_ip.c
@@ -517,20 +517,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))
{