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
1 changed files with 1 additions and 1 deletions

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) {