diff options
author | Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> | 2024-03-04 00:12:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-04 01:12:05 +0100 |
commit | 85a2fb9c56c1942958c09c8aeafd14ddefb6e0c3 (patch) | |
tree | 146142afc5d0e9272efbdca08108e4674a32f764 /primedev/shared/misccommands.cpp | |
parent | 4b0726d97788edff5d83476cb52057f409d623af (diff) | |
download | NorthstarLauncher-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/shared/misccommands.cpp')
-rw-r--r-- | primedev/shared/misccommands.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/primedev/shared/misccommands.cpp b/primedev/shared/misccommands.cpp index 648525b9..29d92d2d 100644 --- a/primedev/shared/misccommands.cpp +++ b/primedev/shared/misccommands.cpp @@ -21,6 +21,7 @@ void ConCommand_force_newgame(const CCommand& arg) void ConCommand_ns_start_reauth_and_leave_to_lobby(const CCommand& arg) { + NOTE_UNUSED(arg); // hack for special case where we're on a local server, so we erase our own newly created auth data on disconnect g_pMasterServerManager->m_bNewgameAfterSelfAuth = true; g_pMasterServerManager->AuthenticateWithOwnServer(g_pLocalPlayerUserID, g_pMasterServerManager->m_sOwnClientAuthToken); @@ -28,6 +29,7 @@ void ConCommand_ns_start_reauth_and_leave_to_lobby(const CCommand& arg) void ConCommand_ns_end_reauth_and_leave_to_lobby(const CCommand& arg) { + NOTE_UNUSED(arg); if (g_pServerAuthentication->m_RemoteAuthenticationData.size()) g_pCVar->FindVar("serverfilter")->SetValue(g_pServerAuthentication->m_RemoteAuthenticationData.begin()->first.c_str()); |