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/util/printcommands.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'primedev/util/printcommands.cpp') diff --git a/primedev/util/printcommands.cpp b/primedev/util/printcommands.cpp index 20ebfffc..03ccce5e 100644 --- a/primedev/util/printcommands.cpp +++ b/primedev/util/printcommands.cpp @@ -188,6 +188,7 @@ void ConCommand_findflags(const CCommand& arg) void ConCommand_list(const CCommand& arg) { + NOTE_UNUSED(arg); ConCommandBase* var; CCVarIteratorInternal* itint = g_pCVar->FactoryInternalIterator(); std::map sorted; @@ -210,6 +211,7 @@ void ConCommand_list(const CCommand& arg) void ConCommand_differences(const CCommand& arg) { + NOTE_UNUSED(arg); CCVarIteratorInternal* itint = g_pCVar->FactoryInternalIterator(); std::map sorted; -- cgit v1.2.3