Re: dplayx: Fix incorrect check in DirectPlayLobbyAImpl_EnumLocalApplications and IDirectPlayLobbyAImpl_EnumAddressTypes.
21 Feb
2008
21 Feb
'08
4:54 p.m.
On Thu, Feb 21, 2008 at 04:44:34PM +0000, Robert Shearman wrote:
Dereferencing a function pointer and checking it against NULL doesn't make any sense, so remove the checks.
- if( !lpEnumAddressTypeCallback || !*lpEnumAddressTypeCallback ) + if( !lpEnumAddressTypeCallback )
It looks as if they were meant as &&, but that does not make much sense either. Ciao, Marcus
6507
Age (days ago)
6507
Last active (days ago)
0 comments
1 participants
participants (1)
-
Marcus Meissner