aboutsummaryrefslogtreecommitdiff
path: root/primedev/server/auth
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/server/auth
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/server/auth')
-rw-r--r--primedev/server/auth/bansystem.cpp1
-rw-r--r--primedev/server/auth/serverauthentication.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/primedev/server/auth/bansystem.cpp b/primedev/server/auth/bansystem.cpp
index 59bb6067..20c07844 100644
--- a/primedev/server/auth/bansystem.cpp
+++ b/primedev/server/auth/bansystem.cpp
@@ -213,6 +213,7 @@ void ConCommand_unban(const CCommand& args)
void ConCommand_clearbanlist(const CCommand& args)
{
+ NOTE_UNUSED(args);
g_pBanSystem->ClearBanlist();
}
diff --git a/primedev/server/auth/serverauthentication.cpp b/primedev/server/auth/serverauthentication.cpp
index 7d656820..d0d4c698 100644
--- a/primedev/server/auth/serverauthentication.cpp
+++ b/primedev/server/auth/serverauthentication.cpp
@@ -333,6 +333,7 @@ void,, (CBaseClient* self, uint32_t unknownButAlways1, const char* pReason, ...)
void ConCommand_ns_resetpersistence(const CCommand& args)
{
+ NOTE_UNUSED(args);
if (*g_pServerState == server_state_t::ss_active)
{
spdlog::error("ns_resetpersistence must be entered from the main menu");