78519: Subject: comctl32: Remove dead code from MONTHCAL_HitTest.

buildbot at kegel.com buildbot at kegel.com
Wed Sep 7 17:48:57 CDT 2011


This is an experimental automated build and test service.
Please feel free to ignore this email while we work the kinks out.

The Buildbot has detected a failed build on builder runtests-default while building Wine.
Full details are available at: http://buildbot.kegel.com/builders/runtests-default/builds/87 (though maybe not for long, as I'm still reinstalling the buildbot periodically while experimenting)
BUILD FAILED: failed shell_3


For more info about this message, see http://wiki.winehq.org/BuildBot


-------------- next part --------------
From: Gerald Pfeifer <gerald at pfeifer.com>
Subject: comctl32: Remove dead code from MONTHCAL_HitTest.
Message-Id: <E1R1QY1-0001ob-Se at wine.codeweavers.com>
Date: Thu, 8 Sep 2011 00:23:15 +0200 (CEST)

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-tests-results mailing list