Gerald Pfeifer : comctl32: Remove dead code from MONTHCAL_HitTest.

Alexandre Julliard julliard at winehq.org
Thu Sep 8 14:52:10 CDT 2011


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Thu Sep  8 00:23:15 2011 +0200

comctl32: Remove dead code from MONTHCAL_HitTest.

---

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

diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index c0c8810..ae9bdcd 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -1665,13 +1665,9 @@ MONTHCAL_HitTest(const MONTHCAL_INFO *infoPtr, MCHITTESTINFO *lpht)
   MCHITTESTINFO htinfo;
   SYSTEMTIME ht_month;
   INT day, calIdx;
-  UINT x, y;
 
   if(!lpht || lpht->cbSize < MCHITTESTINFO_V1_SIZE) return -1;
 
-  x = lpht->pt.x;
-  y = lpht->pt.y;
-
   htinfo.st = st_null;
 
   /* we should preserve passed fields if hit area doesn't need them */




More information about the wine-cvs mailing list