From 85a2fb9c56c1942958c09c8aeafd14ddefb6e0c3 Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Mon, 4 Mar 2024 00:12:05 +0000 Subject: Address C4100 compiler warnings (unused var) (#648) Adds and uses a macro to avoid the warning --- primedev/core/convar/convar.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'primedev/core/convar') diff --git a/primedev/core/convar/convar.cpp b/primedev/core/convar/convar.cpp index 767961ed..87a1e159 100644 --- a/primedev/core/convar/convar.cpp +++ b/primedev/core/convar/convar.cpp @@ -363,6 +363,7 @@ void ConVar::SetValue(Color clValue) //----------------------------------------------------------------------------- void ConVar::ChangeStringValue(const char* pszTempVal, float flOldValue) { + NOTE_UNUSED(flOldValue); assert(!(m_ConCommandBase.m_nFlags & FCVAR_NEVER_AS_STRING)); char* pszOldValue = (char*)_malloca(m_Value.m_iStringLength); -- cgit v1.2.3