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

Alexandre Julliard julliard at winehq.org
Mon May 3 11:54:10 CDT 2010


Module: wine
Branch: master
Commit: 44f1fbced49fad5901f6f01bce8541ea9a55f70e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=44f1fbced49fad5901f6f01bce8541ea9a55f70e

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sun May  2 20:40:05 2010 +0200

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

---

 dlls/comctl32/monthcal.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index 2c98331..a9795e0 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;




More information about the wine-cvs mailing list