comctl32: Removed dead store (llvm/clang).
This commit is contained in:
parent
66b732e4f8
commit
5630124896
|
@ -1172,7 +1172,6 @@ MONTHCAL_HitTest(const MONTHCAL_INFO *infoPtr, LPARAM lParam)
|
||||||
|
|
||||||
x = lpht->pt.x;
|
x = lpht->pt.x;
|
||||||
y = lpht->pt.y;
|
y = lpht->pt.y;
|
||||||
retval = MCHT_NOWHERE;
|
|
||||||
|
|
||||||
ZeroMemory(&lpht->st, sizeof(lpht->st));
|
ZeroMemory(&lpht->st, sizeof(lpht->st));
|
||||||
|
|
||||||
|
@ -1887,7 +1886,7 @@ static LRESULT theme_changed (const MONTHCAL_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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue