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/dedicated/dedicatedlogtoclient.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/dedicated/dedicatedlogtoclient.cpp')
-rw-r--r-- | primedev/dedicated/dedicatedlogtoclient.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/primedev/dedicated/dedicatedlogtoclient.cpp b/primedev/dedicated/dedicatedlogtoclient.cpp index bf2cf77a..48954d34 100644 --- a/primedev/dedicated/dedicatedlogtoclient.cpp +++ b/primedev/dedicated/dedicatedlogtoclient.cpp @@ -37,6 +37,7 @@ void DedicatedServerLogToClientSink::custom_sink_it_(const custom_log_msg& msg) void DedicatedServerLogToClientSink::sink_it_(const spdlog::details::log_msg& msg) { + NOTE_UNUSED(msg); throw std::runtime_error("sink_it_ called on DedicatedServerLogToClientSink with pure log_msg. This is an error!"); } |