comctl32: Eliminate an unneeded variable.
Alexandre Julliard
julliard at winehq.org
Thu Oct 26 05:50:34 CDT 2006
Mike McCormack <mike at codeweavers.com> writes:
> @@ -2560,7 +2560,7 @@ ImageList_SetImageCount (HIMAGELIST himl
> {
> HDC hdcBitmap;
> HBITMAP hbmNewBitmap;
> - INT nNewCount, nCopyCount;
> + INT nCopyCount;
It seems to me the variable is needed to ensure that the bitmap and
count remain in sync if allocating the new bitmap fails.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list