From 8101a13eafd639ba2300734defbfd43b30ff9c3f Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Fri, 23 Apr 2010 20:49:16 +0200 Subject: [PATCH] comctl32: Remove variable old which is not really used from DATETIME_LButtonDown. --- dlls/comctl32/datetime.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/comctl32/datetime.c b/dlls/comctl32/datetime.c index e693d580280..dc2dd127ca3 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);