From 4a9095a2af7f12bfcd2f5ea7f3c410e55388db3b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 24 Apr 2020 00:57:13 -0400 Subject: [PATCH] CRealElement: Make use of [[maybe_unused]] where applicable --- Runtime/Particle/CRealElement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Runtime/Particle/CRealElement.cpp b/Runtime/Particle/CRealElement.cpp index 707a372f4..2ae594de7 100644 --- a/Runtime/Particle/CRealElement.cpp +++ b/Runtime/Particle/CRealElement.cpp @@ -26,7 +26,7 @@ CREKeyframeEmitter::CREKeyframeEmitter(CInputStream& in) { 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) { int emitterTime = CParticleGlobals::instance()->m_EmitterTime; int calcKey = emitterTime; @@ -63,7 +63,7 @@ bool CRELifetimeTween::GetValue(int frame, float& valOut) const { return false; } -bool CREConstant::GetValue(int frame, float& valOut) const { +bool CREConstant::GetValue([[maybe_unused]] int frame, float& valOut) const { valOut = x4_val; return false; }