]> git.saurik.com Git - wxWidgets.git/commitdiff
remove unused callback and data variables
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 26 Nov 2008 12:35:04 +0000 (12:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 26 Nov 2008 12:35:04 +0000 (12:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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