2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-13 01:25:52 +00:00

CParticleElectric: Mark CGlobalRandom instance as maybe unused

This has a stateful destructor, so we mark it as unused to silence
unused variable warnings.
This commit is contained in:
Lioncash 2020-04-14 12:16:22 -04:00
parent 8aef2cf95d
commit 4cbf8ef513

View File

@ -513,7 +513,7 @@ void CParticleElectric::BuildBounds() {
}
bool CParticleElectric::Update(double dt) {
CGlobalRandom gr(x14c_randState);
[[maybe_unused]] CGlobalRandom gr(x14c_randState);
bool ret = false;
if (x450_25_haveGPSM) {