Michael Stefaniuc : riched20: SUCCEEDED() is already a BOOL (PVS-Studio).
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Oct 31 02:53:36 CDT 2014
Module: wine
Branch: master
Commit: 7f295effbd20301a7a63dc4e8e95c54ceb6189eb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7f295effbd20301a7a63dc4e8e95c54ceb6189eb
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Thu Oct 30 23:28:44 2014 +0100
riched20: SUCCEEDED() is already a BOOL (PVS-Studio).
---
dlls/riched20/editor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 1e62fc1..8fdaa53 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -2118,7 +2118,7 @@ static BOOL ME_Copy(ME_TextEditor *editor, const ME_Cursor *start, int nChars)
hr = OleSetClipboard(dataObj);
IDataObject_Release(dataObj);
}
- return SUCCEEDED(hr) != 0;
+ return SUCCEEDED(hr);
}
/* helper to send a msg filter notification */
More information about the wine-cvs
mailing list