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

(svn r20289) -Codechange: Unify fall through coding style.

This commit is contained in:
terkhen
2010-08-01 20:52:11 +00:00
parent 7b62e4dc8e
commit 80c43f52e8
13 changed files with 24 additions and 16 deletions

View File

@@ -246,7 +246,8 @@ void NetworkUDPSocketHandler::Recv_NetworkGameInfo(Packet *p, NetworkGameInfo *i
*dst = c;
dst = &c->next;
}
} // FALL THROUGH
/* FALL THROUGH */
}
case 3:
info->game_date = Clamp(p->Recv_uint32(), 0, MAX_DATE);
info->start_date = Clamp(p->Recv_uint32(), 0, MAX_DATE);

View File

@@ -2312,8 +2312,8 @@ struct NetworkCompanyPasswordWindow : public QueryStringBaseWindow {
switch (widget) {
case NCPWW_OK:
this->OnOk();
/* FALL THROUGH */
/* FALL THROUGH */
case NCPWW_CANCEL:
delete this;
break;