Nikolay Sivov : oleaut32/tests: Don't use HRESULT codes for BOOL retval ( PVS-Studio).

Alexandre Julliard julliard at wine.codeweavers.com
Thu Oct 15 10:27:59 CDT 2015


Module: wine
Branch: master
Commit: feb607ecf67561ff09322cb420611e25c7a02ad4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=feb607ecf67561ff09322cb420611e25c7a02ad4

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Oct 15 12:36:42 2015 +0300

oleaut32/tests: Don't use HRESULT codes for BOOL retval (PVS-Studio).

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/oleaut32/tests/vartest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index 9b05fe7..4ba453c 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -230,7 +230,7 @@ static HRESULT WINAPI RecordInfo_GetFieldNames(IRecordInfo *iface, ULONG *pcName
 static BOOL WINAPI RecordInfo_IsMatchingType(IRecordInfo *iface, IRecordInfo *info2)
 {
     ok(0, "unexpected call\n");
-    return E_NOTIMPL;
+    return FALSE;
 }
 
 static PVOID WINAPI RecordInfo_RecordCreate(IRecordInfo *iface)




More information about the wine-cvs mailing list