comctl32: Merge two if blocks with identical condition (PVS-Studio)

Michael Stefaniuc mstefani at redhat.de
Fri Dec 5 03:37:44 CST 2014


---
 dlls/comctl32/listview.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index bc748c6..57f19e4 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -4005,10 +4005,7 @@ static LRESULT LISTVIEW_MouseMove(LISTVIEW_INFO *infoPtr, WORD fwKeys, INT x, IN
         rect.top = rect.bottom = infoPtr->ptClickPos.y;
 
         InflateRect(&rect, GetSystemMetrics(SM_CXDRAG), GetSystemMetrics(SM_CYDRAG));
-    }
 
-    if (infoPtr->bLButtonDown)
-    {
         if (infoPtr->bMarqueeSelect)
         {
             POINT coords_orig;
-- 
1.9.3



More information about the wine-patches mailing list