comctl32: Remove dead code from MONTHCAL_HitTest.
Gerald Pfeifer
gerald at pfeifer.com
Wed Sep 7 17:23:15 CDT 2011
Nikolay's work earlier this week allows for a bit more of
simplification on top.
Gerald
---
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 */
--
1.7.6
More information about the wine-patches
mailing list