dplayx: Fix incorrect check in DirectPlay3AImpl_EnumConnections.

Dereferencing a function pointer and checking it against NULL doesn't 
make any sense, so remove the check.
This commit is contained in:
Rob Shearman 2008-02-21 16:44:29 +00:00 committed by Alexandre Julliard
parent f21b91c0a2
commit 488ac40fa8
1 changed files with 1 additions and 1 deletions

View File

@ -3669,7 +3669,7 @@ static HRESULT WINAPI DirectPlay3AImpl_EnumConnections
return DPERR_INVALIDFLAGS;
}
if( !lpEnumCallback || !*lpEnumCallback )
if( !lpEnumCallback )
{
return DPERR_INVALIDPARAMS;
}