Codechange: Silence warnings about intentionally unused parameters.
This commit is contained in:
@@ -33,7 +33,7 @@ template <typename Tspec, typename Tid, Tid Tmax>
|
||||
}
|
||||
|
||||
template <typename Tspec, typename Tid, Tid Tmax>
|
||||
bool NewGRFClass<Tspec, Tid, Tmax>::IsUIAvailable(uint index) const
|
||||
bool NewGRFClass<Tspec, Tid, Tmax>::IsUIAvailable(uint) const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@@ -153,7 +153,7 @@ void AirportOverrideManager::SetEntitySpec(AirportSpec *as)
|
||||
}
|
||||
}
|
||||
|
||||
/* virtual */ uint32_t AirportScopeResolver::GetVariable(byte variable, uint32_t parameter, bool *available) const
|
||||
/* virtual */ uint32_t AirportScopeResolver::GetVariable(byte variable, [[maybe_unused]] uint32_t parameter, bool *available) const
|
||||
{
|
||||
switch (variable) {
|
||||
case 0x40: return this->layout;
|
||||
|
Reference in New Issue
Block a user