silence some MSVC warnings

This commit is contained in:
Lee Salzman
2021-04-25 23:44:51 -04:00
parent e3ada4ed75
commit 0286dcdb34
3 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -1390,8 +1390,8 @@ enet_protocol_check_outgoing_commands (ENetHost * host, ENetPeer * peer)
ENetBuffer * buffer = & host -> buffers [host -> bufferCount];
ENetOutgoingCommand * outgoingCommand;
ENetListIterator currentCommand;
ENetChannel *channel;
enet_uint16 reliableWindow;
ENetChannel *channel = NULL;
enet_uint16 reliableWindow = 0;
size_t commandSize;
int windowExceeded = 0, windowWrap = 0, canPing = 1;