From f6160fd2e93138610f4fe5a514b2351d2e2ee998 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Tue, 31 Jul 2012 16:12:11 +0300 Subject: [PATCH] case warning fixes --- protocol.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/protocol.c b/protocol.c index 9c1dad2..9086c26 100644 --- a/protocol.c +++ b/protocol.c @@ -83,6 +83,9 @@ enet_protocol_dispatch_incoming_commands (ENetHost * host, ENetEvent * event) } return 1; + + default: + break; } } @@ -877,6 +880,9 @@ enet_protocol_handle_acknowledge (ENetHost * host, ENetEvent * event, ENetPeer * enet_list_empty (& peer -> sentReliableCommands)) enet_peer_disconnect (peer, peer -> eventData); break; + + default: + break; } return 0;