X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ffe958687e4bbd2b077412397399af4f6ba3650..d7928233956f3c56fd402e0e496f7da238510b61:/src/common/protocol.cpp?ds=sidebyside diff --git a/src/common/protocol.cpp b/src/common/protocol.cpp index 00a1979692..1f508709eb 100644 --- a/src/common/protocol.cpp +++ b/src/common/protocol.cpp @@ -208,8 +208,9 @@ void wxProtocol::LogResponse(const wxString& str) m_log->LogResponse(str); } -void wxProtocolLog::DoLogString(const wxString& WXUNUSED_UNLESS_DEBUG(str)) +void wxProtocolLog::DoLogString(const wxString& str) { + wxUnusedVar(str); // unused if wxLogTrace() is disabled wxLogTrace(m_traceMask, "%s", str); }