user32: warnings (around uninitialized variables).
Alexandre Julliard
julliard at winehq.org
Tue Jul 20 08:19:04 CDT 2010
Gerald Pfeifer <gerald at pfeifer.com> writes:
> @@ -388,6 +388,8 @@ static int DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, LONG *width,
> *compr = header->biCompression;
> return 1;
> }
> +
> + *width = *height = 0;
> ERR("(%d): unknown/wrong size for header\n", header->biSize );
> return -1;
> }
0 is not valid for a bitmap, these should never be used in the error
case.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list