Fix formatting and remove warning silencer

This commit is contained in:
Gymnasiast 2017-01-23 21:01:26 +01:00 committed by Ted John
parent 803c4ddfe5
commit 02da9caf5d
2 changed files with 2 additions and 5 deletions

View File

@ -1368,8 +1368,6 @@ namespace RCT1
return map[sceneryGroupType]; return map[sceneryGroupType];
} }
#pragma warning(push)
#pragma warning(disable : 4505) // 'identifier' unreferenced local function has been removed
const char * GetWaterObject(uint8 waterType) const char * GetWaterObject(uint8 waterType)
{ {
static const char * map[] = static const char * map[] =
@ -1379,7 +1377,6 @@ namespace RCT1
}; };
return map[waterType]; return map[waterType];
} }
#pragma warning(pop)
const std::vector<const char *> GetPreferedRideEntryOrder(uint8 rideType) const std::vector<const char *> GetPreferedRideEntryOrder(uint8 rideType)
{ {