Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation.

This commit is contained in:
J0an Josep
2017-08-15 17:56:34 +02:00
committed by frosch
parent 3f40cd505d
commit cfb8092397
10 changed files with 15 additions and 15 deletions

View File

@@ -151,13 +151,13 @@ void CargoCollector::Update(StationID from, StationID via, uint amount)
switch (Tselector) {
case ScriptStationList_Cargo::CS_VIA_BY_FROM:
if (via != this->other_station) return;
/* fall through */
FALLTHROUGH;
case ScriptStationList_Cargo::CS_BY_FROM:
key = from;
break;
case ScriptStationList_Cargo::CS_FROM_BY_VIA:
if (from != this->other_station) return;
/* fall through */
FALLTHROUGH;
case ScriptStationList_Cargo::CS_BY_VIA:
key = via;
break;