Fix various compiler warnings

See: #267
This commit is contained in:
Jonathan G Rennison
2021-06-10 23:43:41 +01:00
parent 24783c3d26
commit 97d5982cb5
8 changed files with 22 additions and 21 deletions

View File

@@ -1820,7 +1820,6 @@ CommandCost CmdModifyOrder(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3
case OCV_COUNTER_VALUE:
case OCV_TIME_DATE:
case OCV_TIMETABLE:
if (data >= (1 << 16)) return CMD_ERROR;
break;
default: