dmloader: Remove redundant "not NULL" check of the pDesc arg.
This commit is contained in:
parent
8e8f743cb0
commit
8a3daa63e0
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue