]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckipc.cpp
fixes for harmless mingw32 warnings
[wxWidgets.git] / src / common / sckipc.cpp
index 1c68aa540c52d96761e23f7a2f5bb2109a778aaa..03e8f0958ea20fd70d09e89edb77903f97e115e5 100644 (file)
@@ -531,7 +531,6 @@ void wxTCPEventHandler::Client_OnRequest(wxSocketEvent &event)
   if (!connection)
     return;
 
-  int msg = 0;
   wxDataInputStream *codeci;
   wxDataOutputStream *codeco;
   wxSocketStream *sockstrm;
@@ -551,7 +550,7 @@ void wxTCPEventHandler::Client_OnRequest(wxSocketEvent &event)
   codeci = connection->m_codeci;
   codeco = connection->m_codeco;
   sockstrm = connection->m_sockstrm;
-  msg = codeci->Read8();
+  int msg = codeci->Read8();
 
   switch (msg)
   {