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

Alexandre Julliard julliard at wine.codeweavers.com
Tue Oct 20 11:28:30 CDT 2015


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Oct 20 15:52:50 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/safearray.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/oleaut32/tests/safearray.c b/dlls/oleaut32/tests/safearray.c
index dd9329a..12e1f54 100644
--- a/dlls/oleaut32/tests/safearray.c
+++ b/dlls/oleaut32/tests/safearray.c
@@ -212,7 +212,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