remove unused callback and data variables

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-11-26 12:35:04 +00:00
parent 04889c59c6
commit 2fdc8b41b4

View File

@@ -345,16 +345,12 @@ LRESULT CALLBACK _GSocket_Internal_WinProc(HWND hWnd,
{ {
GSocket *socket; GSocket *socket;
GSocketEvent event; GSocketEvent event;
GSocketCallback cback;
char *data;
if (uMsg >= WM_USER && uMsg <= (WM_USER + MAXSOCKETS - 1)) if (uMsg >= WM_USER && uMsg <= (WM_USER + MAXSOCKETS - 1))
{ {
EnterCriticalSection(&critical); EnterCriticalSection(&critical);
socket = socketList[(uMsg - WM_USER)]; socket = socketList[(uMsg - WM_USER)];
event = (GSocketEvent) -1; event = (GSocketEvent) -1;
cback = NULL;
data = NULL;
/* Check that the socket still exists (it has not been /* Check that the socket still exists (it has not been
* destroyed) and for safety, check that the m_fd field * destroyed) and for safety, check that the m_fd field