diff options
author | Lee Salzman <[email protected]> | 2021-04-25 23:44:51 -0400 |
---|---|---|
committer | Lee Salzman <[email protected]> | 2021-04-25 23:44:51 -0400 |
commit | 0286dcdb3481966e0f2c2cabbc468a4b299adf5c (patch) | |
tree | ac8fe2280b870819aa6a7790ebe7b4ce7ab9ad58 /protocol.c | |
parent | e3ada4ed750b976833e3d54a9c1179445289bbf6 (diff) | |
download | enet-0286dcdb3481966e0f2c2cabbc468a4b299adf5c.tar.gz enet-0286dcdb3481966e0f2c2cabbc468a4b299adf5c.zip |
silence some MSVC warnings
Diffstat (limited to 'protocol.c')
-rw-r--r-- | protocol.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |