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

Nikolay Sivov nsivov at codeweavers.com
Thu Oct 15 04:36:42 CDT 2015


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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)
-- 
2.6.1




More information about the wine-patches mailing list