Gerald Pfeifer : comctl32: Remove unused scrollInfo from LISTVIEW_MouseWheel.

Alexandre Julliard julliard at winehq.org
Tue Apr 20 11:32:22 CDT 2010


Module: wine
Branch: master
Commit: aa745feddc8c56f5bca9f202edea600b2be8f547
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=aa745feddc8c56f5bca9f202edea600b2be8f547

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Mon Apr 19 14:35:06 2010 +0200

comctl32: Remove unused scrollInfo from LISTVIEW_MouseWheel.

---

 dlls/comctl32/listview.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 9ca52c5..aeb1ae1 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -9493,16 +9493,12 @@ static LRESULT LISTVIEW_MouseWheel(LISTVIEW_INFO *infoPtr, INT wheelDelta)
 {
     INT gcWheelDelta = 0;
     INT pulScrollLines = 3;
-    SCROLLINFO scrollInfo;
 
     TRACE("(wheelDelta=%d)\n", wheelDelta);
 
     SystemParametersInfoW(SPI_GETWHEELSCROLLLINES,0, &pulScrollLines, 0);
     gcWheelDelta -= wheelDelta;
 
-    scrollInfo.cbSize = sizeof(SCROLLINFO);
-    scrollInfo.fMask = SIF_POS;
-
     switch(infoPtr->uView)
     {
     case LV_VIEW_ICON:




More information about the wine-cvs mailing list