Nikolay Sivov : wmiutils: Don't return HRESULT codes for BOOL retval ( PVS-Studio).

Alexandre Julliard julliard at wine.codeweavers.com
Wed Oct 14 11:12:50 CDT 2015


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Oct 14 00:44:46 2015 +0300

wmiutils: Don't return 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/wmiutils/path.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/wmiutils/path.c b/dlls/wmiutils/path.c
index 7977416..61386d9 100644
--- a/dlls/wmiutils/path.c
+++ b/dlls/wmiutils/path.c
@@ -1211,7 +1211,7 @@ static BOOL WINAPI path_IsRelative(
     LPWSTR wszNamespace)
 {
     FIXME("%p, %s, %s\n", iface, debugstr_w(wszMachine), debugstr_w(wszNamespace));
-    return E_NOTIMPL;
+    return FALSE;
 }
 
 static BOOL WINAPI path_IsRelativeOrChild(
@@ -1221,7 +1221,7 @@ static BOOL WINAPI path_IsRelativeOrChild(
     LONG lFlags)
 {
     FIXME("%p, %s, %s, 0x%x\n", iface, debugstr_w(wszMachine), debugstr_w(wszNamespace), lFlags);
-    return E_NOTIMPL;
+    return FALSE;
 }
 
 static BOOL WINAPI path_IsLocal(
@@ -1229,7 +1229,7 @@ static BOOL WINAPI path_IsLocal(
     LPCWSTR wszMachine)
 {
     FIXME("%p, %s\n", iface, debugstr_w(wszMachine));
-    return E_NOTIMPL;
+    return FALSE;
 }
 
 static BOOL WINAPI path_IsSameClassName(
@@ -1237,7 +1237,7 @@ static BOOL WINAPI path_IsSameClassName(
     LPCWSTR wszClass)
 {
     FIXME("%p, %s\n", iface, debugstr_w(wszClass));
-    return E_NOTIMPL;
+    return FALSE;
 }
 
 static const struct IWbemPathVtbl path_vtbl =




More information about the wine-cvs mailing list