Commit 488ac40f authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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.
parent f21b91c0
......@@ -3669,7 +3669,7 @@ static HRESULT WINAPI DirectPlay3AImpl_EnumConnections
return DPERR_INVALIDFLAGS;
}
if( !lpEnumCallback || !*lpEnumCallback )
if( !lpEnumCallback )
{
return DPERR_INVALIDPARAMS;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment