Michael Stefaniuc : msvfw32: Remove always false if subexpression ( PVS-Studio).
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Dec 22 16:20:52 CST 2014
Module: wine
Branch: master
Commit: 036670810c7e8bf55a5ee0e71e32fa4a097dac02
URL: http://source.winehq.org/git/wine.git/?a=commit;h=036670810c7e8bf55a5ee0e71e32fa4a097dac02
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Mon Dec 22 11:30:48 2014 +0100
msvfw32: Remove always false if subexpression (PVS-Studio).
---
dlls/msvfw32/drawdib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msvfw32/drawdib.c b/dlls/msvfw32/drawdib.c
index c4e5c40..a6af90f 100644
--- a/dlls/msvfw32/drawdib.c
+++ b/dlls/msvfw32/drawdib.c
@@ -472,7 +472,7 @@ UINT VFWAPI DrawDibRealize(HDRAWDIB hdd, HDC hdc, BOOL fBackground)
whdd = MSVIDEO_GetHddPtr(hdd);
if (!whdd) return FALSE;
- if (!whdd || !(whdd->begun))
+ if (!whdd->begun)
{
ret = 0;
goto out;
More information about the wine-cvs
mailing list