mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-06-05 05:13:27 +00:00
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); }
|
||||
void CGameArea::WarmupShaders(const SObjectTag& mreaTag) {
|
||||
// Calling this version of the constructor performs warmup implicitly
|
||||
CGameArea area(mreaTag.id);
|
||||
[[maybe_unused]] CGameArea area(mreaTag.id);
|
||||
}
|
||||
|
||||
} // namespace urde
|
||||
|
Loading…
x
Reference in New Issue
Block a user