aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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;