comctl32: Remove dead increments (clang)

Reece Dunn msclrhd at googlemail.com
Tue Jul 26 14:27:06 CDT 2011


2011/7/26 André Hentschel <nerv at dawncrow.de>:
> --- a/dlls/comctl32/rebar.c
> +++ b/dlls/comctl32/rebar.c
> @@ -1576,8 +1576,6 @@ REBAR_SizeToHeight(REBAR_INFO *infoPtr, int height)
>             iRow++;
>         }
>     }
> -    else
> -        extra -= REBAR_SizeChildrenToHeight(infoPtr, first_visible(infoPtr), infoPtr->uNumBands, extra / infoPtr->uNumRows, &fChanged);

IIUC, this should not remove the |REBAR_SizeChildrenToHeight| call,
only the |extra -=| bit as |REBAR_SizeChildrenToHeight| is updating
the |infoPtr| output parameter.

- Reece



More information about the wine-devel mailing list