Minor dlls/comctl32/datetime.c simplification

Gerald Pfeifer gerald at pfeifer.com
Fri Apr 23 13:49:16 CDT 2010


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

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-patches mailing list