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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user