Initialize iosb.

This commit is contained in:
Marcus Meissner 2005-05-05 09:49:43 +00:00 committed by Alexandre Julliard
parent a760181be0
commit 8480f39f11
1 changed files with 1 additions and 1 deletions

View File

@ -1328,7 +1328,7 @@ static int WS2_register_async_shutdown( SOCKET s, int fd, enum ws2_mode mode )
DWORD dwflags = 0; DWORD dwflags = 0;
int len = 0; int len = 0;
LPWSAOVERLAPPED ovl = HeapAlloc(GetProcessHeap(), 0, sizeof( WSAOVERLAPPED )); LPWSAOVERLAPPED ovl = HeapAlloc(GetProcessHeap(), 0, sizeof( WSAOVERLAPPED ));
IO_STATUS_BLOCK *iosb; IO_STATUS_BLOCK *iosb = NULL;
TRACE("s %d fd %d mode %d\n", s, fd, mode); TRACE("s %d fd %d mode %d\n", s, fd, mode);
if (!ovl) if (!ovl)