X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ffe958687e4bbd2b077412397399af4f6ba3650..a43a9e5521440dbb28037646ed4a07125c8823a9:/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); }