mirror of https://github.com/AxioDL/metaforce.git
CRealElement: Make use of [[maybe_unused]] where applicable
This commit is contained in:
parent
f620b4325f
commit
4a9095a2af
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue