comctl32/theme_scrollbar: Remove an unused variable.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2021-02-22 22:32:21 +08:00 committed by Alexandre Julliard
parent a8856381ed
commit d9b47aa303

View file

@ -334,16 +334,12 @@ static void paint_scrollbar(HWND hwnd, HTHEME theme)
DrawThemeBackground(theme, dc, SBP_SIZEBOX, state, &r, NULL);
} else {
SCROLLBARINFO sbi;
SCROLLINFO si;
unsigned int thumbpos, thumbsize;
int uppertrackstate, lowertrackstate, thumbstate;
RECT partrect, trackrect;
SIZE grippersize;
sbi.cbSize = sizeof(sbi);
GetScrollBarInfo(hwnd, OBJID_CLIENT, &sbi);
si.cbSize = sizeof(si);
si.fMask = SIF_ALL;
GetScrollInfo(hwnd, SB_CTL, &si);