comctl32: Remove variable old_focused which is not really used from MONTHCAL_Mouse.

This commit is contained in:
Gerald Pfeifer 2010-05-02 20:40:05 +02:00 committed by Alexandre Julliard
parent c6f74e386b
commit 44f1fbced4
1 changed files with 1 additions and 2 deletions

View File

@ -2033,7 +2033,7 @@ static LRESULT
MONTHCAL_MouseMove(MONTHCAL_INFO *infoPtr, LPARAM lParam) MONTHCAL_MouseMove(MONTHCAL_INFO *infoPtr, LPARAM lParam)
{ {
MCHITTESTINFO ht; MCHITTESTINFO ht;
SYSTEMTIME old_focused, st_ht; SYSTEMTIME st_ht;
INT hit; INT hit;
RECT r; RECT r;
@ -2054,7 +2054,6 @@ MONTHCAL_MouseMove(MONTHCAL_INFO *infoPtr, LPARAM lParam)
} }
st_ht = ht.st; st_ht = ht.st;
old_focused = infoPtr->focusedSel;
/* if pointer is over focused day still there's nothing to do */ /* if pointer is over focused day still there's nothing to do */
if(!MONTHCAL_SetDayFocus(infoPtr, &ht.st)) return 0; if(!MONTHCAL_SetDayFocus(infoPtr, &ht.st)) return 0;