X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e31e940637b08f56e23321b4b6df8e52fe31ca3..299fcbfe98fce39cdc9ab142b65824a175542ff2:/src/common/sckipc.cpp

diff --git a/src/common/sckipc.cpp b/src/common/sckipc.cpp
index 5652d901cc..fa5863aa2c 100644
--- a/src/common/sckipc.cpp
+++ b/src/common/sckipc.cpp
@@ -135,7 +135,6 @@ wxConnectionBase *wxTCPClient::MakeConnection (const wxString& host,
     delete client;
     return NULL;
   }
-  return NULL;
 }
 
 wxConnectionBase *wxTCPClient::OnMakeConnection()
@@ -215,7 +214,7 @@ bool wxTCPConnection::Disconnect ()
   return TRUE;
 }
 
-bool wxTCPConnection::Execute (wxChar *data, int size, wxIPCFormat format)
+bool wxTCPConnection::Execute (const wxChar *data, int size, wxIPCFormat format)
 {
   if (!m_sock->IsConnected())
     return FALSE;