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);