Suppress warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-09-07 18:04:27 +00:00
parent a60c99e6a9
commit e22036dc39
4 changed files with 18 additions and 12 deletions

View File

@@ -1017,7 +1017,7 @@ bool wxSocketBase::DoRequests(wxRequestEvent req_flag)
void wxSocketBase::WantSpeedBuffer(char *buffer, size_t nbytes,
wxRequestEvent evt)
{
int ret;
int ret = 0;
switch (evt) {
case EVT_PEEK:
@@ -1193,7 +1193,7 @@ wxSocketClient::~wxSocketClient()
// --------------------------------------------------------------
// --------- wxSocketClient Connect functions -------------------
// --------------------------------------------------------------
bool wxSocketClient::Connect(wxSockAddress& addr_man, bool wait)
bool wxSocketClient::Connect(wxSockAddress& addr_man, bool WXUNUSED(wait) )
{
struct linger linger;