mirror of https://github.com/AxioDL/metaforce.git
CGameArea: Make use of [[maybe_unused]] in WarmupShaders()
Same behavior, but silences compilation warnings about unused locals.
This commit is contained in:
parent
fef9e6ff2d
commit
73bb7c71b4
|
@ -1199,7 +1199,7 @@ void CGameArea::SetAreaAttributes(const CScriptAreaAttributes* areaAttributes) {
|
||||||
bool CGameArea::CAreaObjectList::IsQualified(const CEntity& ent) const { return (ent.GetAreaIdAlways() == x200c_areaIdx); }
|
bool CGameArea::CAreaObjectList::IsQualified(const CEntity& ent) const { return (ent.GetAreaIdAlways() == x200c_areaIdx); }
|
||||||
void CGameArea::WarmupShaders(const SObjectTag& mreaTag) {
|
void CGameArea::WarmupShaders(const SObjectTag& mreaTag) {
|
||||||
// Calling this version of the constructor performs warmup implicitly
|
// Calling this version of the constructor performs warmup implicitly
|
||||||
CGameArea area(mreaTag.id);
|
[[maybe_unused]] CGameArea area(mreaTag.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace urde
|
} // namespace urde
|
||||||
|
|
Loading…
Reference in New Issue