Michael Stefaniuc : dmloader: Remove redundant "not NULL" check of the pDesc arg.
Alexandre Julliard
julliard at winehq.org
Mon May 17 09:39:30 CDT 2010
Module: wine
Branch: master
Commit: 8a3daa63e0b8530c3d8859421213bf4429fdf6fb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8a3daa63e0b8530c3d8859421213bf4429fdf6fb
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Mon May 17 01:11:57 2010 +0200
dmloader: Remove redundant "not NULL" check of the pDesc arg.
---
dlls/dmloader/container.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/dmloader/container.c b/dlls/dmloader/container.c
index a1fa878..a267816 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++;
More information about the wine-cvs
mailing list