CRealElement: Make use of [[maybe_unused]] where applicable

This commit is contained in:
Lioncash 2020-04-24 00:57:13 -04:00
parent f620b4325f
commit 4a9095a2af
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ CREKeyframeEmitter::CREKeyframeEmitter(CInputStream& in) {
x18_keys.push_back(in.readFloatBig()); x18_keys.push_back(in.readFloatBig());
} }
bool CREKeyframeEmitter::GetValue(int frame, float& valOut) const { bool CREKeyframeEmitter::GetValue([[maybe_unused]] int frame, float& valOut) const {
if (!x4_percent) { if (!x4_percent) {
int emitterTime = CParticleGlobals::instance()->m_EmitterTime; int emitterTime = CParticleGlobals::instance()->m_EmitterTime;
int calcKey = emitterTime; int calcKey = emitterTime;
@ -63,7 +63,7 @@ bool CRELifetimeTween::GetValue(int frame, float& valOut) const {
return false; return false;
} }
bool CREConstant::GetValue(int frame, float& valOut) const { bool CREConstant::GetValue([[maybe_unused]] int frame, float& valOut) const {
valOut = x4_val; valOut = x4_val;
return false; return false;
} }