From 44f1fbced49fad5901f6f01bce8541ea9a55f70e Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 2 May 2010 20:40:05 +0200 Subject: [PATCH] comctl32: Remove variable old_focused which is not really used from MONTHCAL_Mouse. --- dlls/comctl32/monthcal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c index 2c98331e2e2..a9795e09c40 100644 --- a/dlls/comctl32/monthcal.c +++ b/dlls/comctl32/monthcal.c @@ -2033,7 +2033,7 @@ static LRESULT MONTHCAL_MouseMove(MONTHCAL_INFO *infoPtr, LPARAM lParam) { MCHITTESTINFO ht; - SYSTEMTIME old_focused, st_ht; + SYSTEMTIME st_ht; INT hit; RECT r; @@ -2054,7 +2054,6 @@ MONTHCAL_MouseMove(MONTHCAL_INFO *infoPtr, LPARAM lParam) } st_ht = ht.st; - old_focused = infoPtr->focusedSel; /* if pointer is over focused day still there's nothing to do */ if(!MONTHCAL_SetDayFocus(infoPtr, &ht.st)) return 0;