]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gsockmsw.cpp
remove unused callback and data variables
[wxWidgets.git] / src / msw / gsockmsw.cpp
index dd9e757027f39630307583d45de3025f987b64cf..087c50e6c6ff1e2fc0aa0613cf57a6ed0ee5702c 100644 (file)
@@ -345,16 +345,12 @@ LRESULT CALLBACK _GSocket_Internal_WinProc(HWND hWnd,
 {
   GSocket *socket;
   GSocketEvent event;
-  GSocketCallback cback;
-  char *data;
 
   if (uMsg >= WM_USER && uMsg <= (WM_USER + MAXSOCKETS - 1))
   {
     EnterCriticalSection(&critical);
     socket = socketList[(uMsg - WM_USER)];
     event = (GSocketEvent) -1;
-    cback = NULL;
-    data = NULL;
 
     /* Check that the socket still exists (it has not been
      * destroyed) and for safety, check that the m_fd field