Remove unneeded NULL cast.
This commit is contained in:
parent
652ec646ad
commit
7a29b06555
|
@ -684,7 +684,7 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicScriptImpl (LPCGUID lpcGUID, LPVOID* ppob
|
|||
|
||||
obj = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirectMusicScriptImpl));
|
||||
if (NULL == obj) {
|
||||
*ppobj = (LPVOID) NULL;
|
||||
*ppobj = NULL;
|
||||
return E_OUTOFMEMORY;
|
||||
}
|
||||
obj->UnknownVtbl = &DirectMusicScript_Unknown_Vtbl;
|
||||
|
|
Loading…
Reference in New Issue