summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-12-21 15:23:54 +0000
committeralberth <alberth@openttd.org>2010-12-21 15:23:54 +0000
commitb633ffaa1d58a8ad0f0e9aa34982877c8cf552a2 (patch)
tree134c9a17f2148602117ae73920f7987844082a7b /src/network
parent884b44990a7effe740e705a0183d28f38bfa2b9d (diff)
downloadopenttd-b633ffaa1d58a8ad0f0e9aa34982877c8cf552a2.tar.xz
(svn r21571) -Codechange: Having a break after a return is no good.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_server.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp
index 791d766d7..7526d50fc 100644
--- a/src/network/network_server.cpp
+++ b/src/network/network_server.cpp
@@ -1270,7 +1270,6 @@ DEF_GAME_RECEIVE_COMMAND(Server, PACKET_CLIENT_CHAT)
default:
IConsolePrintF(CC_ERROR, "WARNING: invalid chat action from client %d (IP: %s).", ci->client_id, GetClientIP(ci));
return this->SendError(NETWORK_ERROR_NOT_EXPECTED);
- break;
}
return NETWORK_RECV_STATUS_OKAY;
}