]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/protocol.cpp
Fix harmless unused parameter warnings in wxX11 wxCursor.
[wxWidgets.git] / src / common / protocol.cpp
index 00a1979692ba225d59e3858751066a6bdc259c8c..110afc760ca4455691e58adaa645037aa6ad4039 100644 (file)
@@ -137,7 +137,7 @@ wxProtocolError wxProtocol::ReadLine(wxSocketBase *sock, wxString& result)
             if ( eol == pBuf )
             {
                 // check for case of "\r\n" being split
-                if ( result.empty() || result.Last() != _T('\r') )
+                if ( result.empty() || result.Last() != wxT('\r') )
                 {
                     // ignore the stray '\n'
                     eol = NULL;
@@ -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);
 }