Gerald Pfeifer : comctl32: Remove variable old which is not really used from DATETIME_LButtonDown.

Alexandre Julliard julliard at winehq.org
Mon Apr 26 13:59:24 CDT 2010


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Fri Apr 23 20:49:16 2010 +0200

comctl32: Remove variable old which is not really used from DATETIME_LButtonDown.

---

 dlls/comctl32/datetime.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/comctl32/datetime.c b/dlls/comctl32/datetime.c
index e693d58..dc2dd12 100644
--- a/dlls/comctl32/datetime.c
+++ b/dlls/comctl32/datetime.c
@@ -759,11 +759,10 @@ static LRESULT
 DATETIME_LButtonDown (DATETIME_INFO *infoPtr, INT x, INT y)
 {
     POINT pt;
-    int old, new;
+    int new;
 
     pt.x = x;
     pt.y = y;
-    old = infoPtr->select;
     new = DATETIME_HitTest (infoPtr, pt);
 
     SetFocus(infoPtr->hwndSelf);




More information about the wine-cvs mailing list