From 56301248968059e4d32bd38f017986b033b7f99a Mon Sep 17 00:00:00 2001 From: Ricardo Filipe Date: Wed, 19 Nov 2008 23:27:51 +0000 Subject: [PATCH] comctl32: Removed dead store (llvm/clang). --- dlls/comctl32/monthcal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c index 8cae0db45b4..15acf1f70bc 100644 --- a/dlls/comctl32/monthcal.c +++ b/dlls/comctl32/monthcal.c @@ -1172,7 +1172,6 @@ MONTHCAL_HitTest(const MONTHCAL_INFO *infoPtr, LPARAM lParam) x = lpht->pt.x; y = lpht->pt.y; - retval = MCHT_NOWHERE; ZeroMemory(&lpht->st, sizeof(lpht->st)); @@ -1887,7 +1886,7 @@ static LRESULT theme_changed (const MONTHCAL_INFO* infoPtr) { HTHEME theme = GetWindowTheme (infoPtr->hwndSelf); CloseThemeData (theme); - theme = OpenThemeData (infoPtr->hwndSelf, themeClass); + OpenThemeData (infoPtr->hwndSelf, themeClass); return 0; }