aboutsummaryrefslogtreecommitdiffhomepage
path: root/protocol.c
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2021-04-25 23:44:51 -0400
committerLee Salzman <[email protected]>2021-04-25 23:44:51 -0400
commit0286dcdb3481966e0f2c2cabbc468a4b299adf5c (patch)
treeac8fe2280b870819aa6a7790ebe7b4ce7ab9ad58 /protocol.c
parente3ada4ed750b976833e3d54a9c1179445289bbf6 (diff)
downloadenet-0286dcdb3481966e0f2c2cabbc468a4b299adf5c.tar.gz
enet-0286dcdb3481966e0f2c2cabbc468a4b299adf5c.zip
silence some MSVC warnings
Diffstat (limited to 'protocol.c')
-rw-r--r--protocol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocol.c b/protocol.c
index 9d654f1..8b3c3db 100644
--- a/protocol.c
+++ b/protocol.c
@@ -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;