mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 22:42:09 +00:00
Removed an unused variable (which wasn't compiled in as _DEBUG isn't defined using make).
This commit is contained in:
parent
7b2f842053
commit
a5c88d0e0d
1 changed files with 0 additions and 8 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue