From 8a3daa63e0b8530c3d8859421213bf4429fdf6fb Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 17 May 2010 01:11:57 +0200 Subject: [PATCH] dmloader: Remove redundant "not NULL" check of the pDesc arg. --- dlls/dmloader/container.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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++;