Removed an unused variable (which wasn't compiled in as _DEBUG isn't defined using make).

This commit is contained in:
Zack Middleton 2011-12-08 22:53:58 +00:00
parent 7b2f842053
commit a5c88d0e0d

View file

@ -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))
{