2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 15:47:43 +00:00

CUVElement/CVectorElement: Make use of [[maybe_unused]] where applicable

This commit is contained in:
Lioncash
2020-04-24 00:58:44 -04:00
parent 4a9095a2af
commit b32bc296ad
2 changed files with 9 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ CVEKeyframeEmitter::CVEKeyframeEmitter(CInputStream& in) {
}
}
bool CVEKeyframeEmitter::GetValue(int frame, zeus::CVector3f& valOut) const {
bool CVEKeyframeEmitter::GetValue([[maybe_unused]] int frame, zeus::CVector3f& valOut) const {
if (!x4_percent) {
int emitterTime = CParticleGlobals::instance()->m_EmitterTime;
int calcKey = emitterTime;
@@ -171,7 +171,7 @@ bool CVEConstant::GetValue(int frame, zeus::CVector3f& valOut) const {
return false;
}
bool CVEFastConstant::GetValue(int frame, zeus::CVector3f& valOut) const {
bool CVEFastConstant::GetValue([[maybe_unused]] int frame, zeus::CVector3f& valOut) const {
valOut = x4_val;
return false;
}