1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 12:39:11 +00:00

(svn r21571) -Codechange: Having a break after a return is no good.

This commit is contained in:
alberth
2010-12-21 15:23:54 +00:00
parent 884b44990a
commit b633ffaa1d
6 changed files with 3 additions and 6 deletions

View File

@@ -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;
}