case warning fixes

This commit is contained in:
Lee Salzman 2012-07-31 16:12:11 +03:00
parent 158955c86b
commit f6160fd2e9

View file

@ -83,6 +83,9 @@ enet_protocol_dispatch_incoming_commands (ENetHost * host, ENetEvent * event)
} }
return 1; return 1;
default:
break;
} }
} }
@ -877,6 +880,9 @@ enet_protocol_handle_acknowledge (ENetHost * host, ENetEvent * event, ENetPeer *
enet_list_empty (& peer -> sentReliableCommands)) enet_list_empty (& peer -> sentReliableCommands))
enet_peer_disconnect (peer, peer -> eventData); enet_peer_disconnect (peer, peer -> eventData);
break; break;
default:
break;
} }
return 0; return 0;