[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: comctl32: Eliminate an unneeded variable.
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2006-10-26 10:50:34
Message-ID: 87odrzxsed.fsf () wine ! dyndns ! org
[Download RAW message or body]

Mike McCormack <mike@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@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic