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

This commit is contained in:
Lioncash 2020-04-24 00:54:08 -04:00
parent 6d53912770
commit 102d62846c
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ CCEKeyframeEmitter::CCEKeyframeEmitter(CInputStream& in) {
}
}
bool CCEKeyframeEmitter::GetValue(int frame, zeus::CColor& valOut) const {
bool CCEKeyframeEmitter::GetValue([[maybe_unused]] int frame, zeus::CColor& valOut) const {
if (!x4_percent) {
int emitterTime = CParticleGlobals::instance()->m_EmitterTime;
int calcKey = emitterTime;
@ -64,7 +64,7 @@ bool CCEConstant::GetValue(int frame, zeus::CColor& valOut) const {
return false;
}
bool CCEFastConstant::GetValue(int frame, zeus::CColor& valOut) const {
bool CCEFastConstant::GetValue([[maybe_unused]] int frame, zeus::CColor& valOut) const {
valOut = x4_val;
return false;
}