Nikolay Sivov : comctl32/imagelist: Use proper type for return variable ( PVS-Studio).
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Oct 14 11:12:49 CDT 2015
Module: wine
Branch: master
Commit: 680ba9330ebac421d4efe992f049f3a5710c8ab3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=680ba9330ebac421d4efe992f049f3a5710c8ab3
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Wed Oct 14 00:13:58 2015 +0300
comctl32/imagelist: Use proper type for return variable (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/comctl32/imagelist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c
index c915472..608ccc9 100644
--- a/dlls/comctl32/imagelist.c
+++ b/dlls/comctl32/imagelist.c
@@ -3554,7 +3554,7 @@ static HRESULT WINAPI ImageListImpl_SetDragCursorImage(IImageList2 *iface,
IUnknown *punk, int iDrag, int dxHotspot, int dyHotspot)
{
IImageList *iml2 = NULL;
- HRESULT ret;
+ BOOL ret;
if (!punk)
return E_FAIL;
More information about the wine-cvs
mailing list