aboutsummaryrefslogtreecommitdiff
path: root/primedev/util/printcommands.cpp
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2024-03-04 00:12:05 +0000
committerGitHub <noreply@github.com>2024-03-04 01:12:05 +0100
commit85a2fb9c56c1942958c09c8aeafd14ddefb6e0c3 (patch)
tree146142afc5d0e9272efbdca08108e4674a32f764 /primedev/util/printcommands.cpp
parent4b0726d97788edff5d83476cb52057f409d623af (diff)
downloadNorthstarLauncher-85a2fb9c56c1942958c09c8aeafd14ddefb6e0c3.tar.gz
NorthstarLauncher-85a2fb9c56c1942958c09c8aeafd14ddefb6e0c3.zip
Address C4100 compiler warnings (unused var) (#648)v1.24.4-rc1v1.24.3-rc3v1.24.3-rc2v1.24.3
Adds and uses a macro to avoid the warning
Diffstat (limited to 'primedev/util/printcommands.cpp')
-rw-r--r--primedev/util/printcommands.cpp2
1 files changed, 2 insertions, 0 deletions
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<std::string, ConCommandBase*> 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<std::string, ConCommandBase*> sorted;