Commit 8a3daa63 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dmloader: Remove redundant "not NULL" check of the pDesc arg.

parent 8e8f743c
......@@ -145,8 +145,7 @@ static HRESULT WINAPI IDirectMusicContainerImpl_IDirectMusicContainer_EnumObject
if (strlenW (pContainedObject->wszAlias) > DMUS_MAX_FILENAME)
result = DMUS_S_STRING_TRUNCATED;
}
if (pDesc)
*pDesc = pContainedObject->Desc;
*pDesc = pContainedObject->Desc;
return result;
}
dwCount++;
......
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