aboutsummaryrefslogtreecommitdiffhomepage
path: root/protocol.c
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2012-07-31 16:12:11 +0300
committerLee Salzman <[email protected]>2012-07-31 16:12:11 +0300
commitf6160fd2e93138610f4fe5a514b2351d2e2ee998 (patch)
treee4a5ba6c63106167cd80955ff45f9e2822691d1b /protocol.c
parent158955c86b43435a2eae2a4afac33af5964bb9f9 (diff)
downloadenet-f6160fd2e93138610f4fe5a514b2351d2e2ee998.tar.gz
enet-f6160fd2e93138610f4fe5a514b2351d2e2ee998.zip
case warning fixes
Diffstat (limited to 'protocol.c')
-rw-r--r--protocol.c6
1 files changed, 6 insertions, 0 deletions
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;