mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
Fix an overzealous compiler warning
This commit is contained in:
parent
013a93bc32
commit
be78c36fa1
@ -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…
x
Reference in New Issue
Block a user