diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c index c0c88101b96..ae9bdcd4826 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 */