Michael Stefaniuc : comctl32: Merge two if blocks with identical condition (PVS-Studio).
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Dec 5 15:36:55 CST 2014
Module: wine
Branch: master
Commit: 2db0a3d01e21fc3f87d45eaca71f1b6d2ed7a94f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2db0a3d01e21fc3f87d45eaca71f1b6d2ed7a94f
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Fri Dec 5 10:37:44 2014 +0100
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 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;
More information about the wine-cvs
mailing list