riched20: SUCCEEDED() is already a BOOL (PVS-Studio)

Michael Stefaniuc mstefani at redhat.de
Thu Oct 30 17:28:44 CDT 2014


---
 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 */
-- 
1.8.3.1



More information about the wine-patches mailing list