Skip to content

Commit

Permalink
Removed an unused variable (which wasn't compiled in as _DEBUG isn't …
Browse files Browse the repository at this point in the history
…defined using make).

git-svn-id: svn://svn.icculus.org/quake3/trunk@2207 edf5b092-35ff-0310-97b2-ce42778d08ea
  • Loading branch information
ztm committed Dec 8, 2011
1 parent 2386502 commit bb55d28
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions code/qcommon/net_ip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit bb55d28

Please sign in to comment.