mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-01-18 23:21:39 +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
|
Receive one packet
|
||||||
==================
|
==================
|
||||||
*/
|
*/
|
||||||
#ifdef _DEBUG
|
|
||||||
int recvfromCount;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
qboolean NET_GetPacket(netadr_t *net_from, msg_t *net_message, fd_set *fdr)
|
qboolean NET_GetPacket(netadr_t *net_from, msg_t *net_message, fd_set *fdr)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
struct sockaddr_storage from;
|
struct sockaddr_storage from;
|
||||||
socklen_t fromlen;
|
socklen_t fromlen;
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
#ifdef _DEBUG
|
|
||||||
recvfromCount++; // performance check
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if(ip_socket != INVALID_SOCKET && FD_ISSET(ip_socket, fdr))
|
if(ip_socket != INVALID_SOCKET && FD_ISSET(ip_socket, fdr))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue