diff --git a/dlls/dmloader/container.c b/dlls/dmloader/container.c index a1fa878bd64..a267816cb62 100644 --- a/dlls/dmloader/container.c +++ b/dlls/dmloader/container.c @@ -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++;