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:
parent
f21b91c0a2
commit
488ac40fa8
|
@ -3669,7 +3669,7 @@ static HRESULT WINAPI DirectPlay3AImpl_EnumConnections
|
|||
return DPERR_INVALIDFLAGS;
|
||||
}
|
||||
|
||||
if( !lpEnumCallback || !*lpEnumCallback )
|
||||
if( !lpEnumCallback )
|
||||
{
|
||||
return DPERR_INVALIDPARAMS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue