Nikolay Sivov : d3drm: Avoid HRESULT codes for BOOL retval methods ( PVS-Studio).
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Oct 13 10:53:46 CDT 2015
Module: wine
Branch: master
Commit: f6689b6ce2ca5268b9c58ae2ea6b4e201ab05589
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f6689b6ce2ca5268b9c58ae2ea6b4e201ab05589
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Mon Oct 12 22:25:28 2015 +0300
d3drm: Avoid HRESULT codes for BOOL retval methods (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Stefan Dösinger <stefan at codeweavers.com>
Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3drm/frame.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/d3drm/frame.c b/dlls/d3drm/frame.c
index 4f9d952..f20040b 100644
--- a/dlls/d3drm/frame.c
+++ b/dlls/d3drm/frame.c
@@ -1073,7 +1073,7 @@ static BOOL WINAPI d3drm_frame2_GetBoxEnable(IDirect3DRMFrame2 *iface)
{
FIXME("iface %p stub!\n", iface);
- return E_NOTIMPL;
+ return FALSE;
}
static HRESULT WINAPI d3drm_frame2_GetAxes(IDirect3DRMFrame2 *iface, D3DVECTOR *dir, D3DVECTOR *up)
@@ -1094,7 +1094,7 @@ static BOOL WINAPI d3drm_frame2_GetInheritAxes(IDirect3DRMFrame2 *iface)
{
FIXME("iface %p stub!\n", iface);
- return E_NOTIMPL;
+ return FALSE;
}
static HRESULT WINAPI d3drm_frame2_GetHierarchyBox(IDirect3DRMFrame2 *iface, D3DRMBOX *box)
@@ -2014,7 +2014,7 @@ static BOOL WINAPI d3drm_frame3_GetBoxEnable(IDirect3DRMFrame3 *iface)
{
FIXME("iface %p stub!\n", iface);
- return E_NOTIMPL;
+ return FALSE;
}
static HRESULT WINAPI d3drm_frame3_GetAxes(IDirect3DRMFrame3 *iface, D3DVECTOR *dir, D3DVECTOR *up)
@@ -2035,7 +2035,7 @@ static BOOL WINAPI d3drm_frame3_GetInheritAxes(IDirect3DRMFrame3 *iface)
{
FIXME("iface %p stub!\n", iface);
- return E_NOTIMPL;
+ return FALSE;
}
static HRESULT WINAPI d3drm_frame3_GetHierarchyBox(IDirect3DRMFrame3 *iface, D3DRMBOX *box)
More information about the wine-cvs
mailing list