comctl32: Removed dead assignments (llvm/clang).

This commit is contained in:
Ricardo Filipe 2008-11-24 23:07:25 +00:00 committed by Alexandre Julliard
parent 2f98fce9cf
commit 1c55ba0b83
1 changed files with 1 additions and 2 deletions

View File

@ -152,7 +152,6 @@ static void TRACKBAR_RecalculateTics (TRACKBAR_INFO *infoPtr)
if (infoPtr->uTicFreq && infoPtr->lRangeMax >= infoPtr->lRangeMin) if (infoPtr->uTicFreq && infoPtr->lRangeMax >= infoPtr->lRangeMin)
nrTics=(infoPtr->lRangeMax - infoPtr->lRangeMin)/infoPtr->uTicFreq; nrTics=(infoPtr->lRangeMax - infoPtr->lRangeMin)/infoPtr->uTicFreq;
else { else {
nrTics = 0;
Free (infoPtr->tics); Free (infoPtr->tics);
infoPtr->tics = NULL; infoPtr->tics = NULL;
infoPtr->uNumTics = 0; infoPtr->uNumTics = 0;
@ -1590,7 +1589,7 @@ static LRESULT theme_changed (const TRACKBAR_INFO* infoPtr)
{ {
HTHEME theme = GetWindowTheme (infoPtr->hwndSelf); HTHEME theme = GetWindowTheme (infoPtr->hwndSelf);
CloseThemeData (theme); CloseThemeData (theme);
theme = OpenThemeData (infoPtr->hwndSelf, themeClass); OpenThemeData (infoPtr->hwndSelf, themeClass);
return 0; return 0;
} }