Fix an overzealous compiler warning
This commit is contained in:
parent
013a93bc32
commit
be78c36fa1
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
|||
// replacement for enet_host_service().
|
||||
int serviceEnetHost(ENetHost* client, ENetEvent* event, enet_uint32 timeoutMs) {
|
||||
int i;
|
||||
int ret;
|
||||
int ret = -1;
|
||||
|
||||
// We need to call enet_host_service() multiple times to make sure retransmissions happen
|
||||
for (i = 0; i < ENET_SERVICE_RETRIES; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue