Ricardo Filipe : comctl32: Removed dead store (llvm/clang).

Alexandre Julliard julliard at winehq.org
Fri Nov 21 06:54:58 CST 2008


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

Author: Ricardo Filipe <ricardo_barbano at hotmail.com>
Date:   Wed Nov 19 23:27:51 2008 +0000

comctl32: Removed dead store (llvm/clang).

---

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

diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index 8cae0db..15acf1f 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;
 }
 




More information about the wine-cvs mailing list