From 2db0a3d01e21fc3f87d45eaca71f1b6d2ed7a94f Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Fri, 5 Dec 2014 10:37:44 +0100 Subject: [PATCH] comctl32: Merge two if blocks with identical condition (PVS-Studio). --- dlls/comctl32/listview.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index bc748c61e5b..57f19e4588f 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;