msvfw32: Remove always false if subexpression (PVS-Studio)
Michael Stefaniuc
mstefani at redhat.de
Mon Dec 22 04:30:48 CST 2014
---
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;
--
1.9.3
More information about the wine-patches
mailing list