mirror of
https://github.com/reactos/wine.git
synced 2025-02-22 13:53:38 +00:00
comctl32/rebar: Don't use local variable with the same name as function parameter (Coverity).
This commit is contained in:
parent
f8ba490e58
commit
190f6ab158
@ -1524,9 +1524,10 @@ REBAR_SizeToHeight(REBAR_INFO *infoPtr, int height)
|
||||
for (i = prev_visible(infoPtr, infoPtr->uNumBands); i > 0; i = prev_visible(infoPtr, i))
|
||||
{
|
||||
REBAR_BAND *lpBand = REBAR_GetBand(infoPtr, i);
|
||||
int height = lpBand->rcBand.bottom - lpBand->rcBand.top;
|
||||
int cyBreakExtra; /* additional cy for the rebar after a RBBS_BREAK on this band */
|
||||
|
||||
height = lpBand->rcBand.bottom - lpBand->rcBand.top;
|
||||
|
||||
if (infoPtr->dwStyle & RBS_VARHEIGHT)
|
||||
cyBreakExtra = lpBand->cyRowSoFar; /* 'height' => 'lpBand->cyRowSoFar' + 'height'*/
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user