gdi32: Initialize 'param' field (Coverity).
For consistency with the rest of the code, initialize both 'free' and 'param' fields. Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f2538c6e26
commit
1aa53bc470
@ -828,6 +828,7 @@ static DWORD get_image_dib_info( dib_info *dib, BITMAPINFO *info,
|
||||
bits->ptr = dib->bits.ptr;
|
||||
bits->is_copy = FALSE;
|
||||
bits->free = NULL;
|
||||
bits->param = NULL;
|
||||
if (dib->stride < 0) bits->ptr = (char *)bits->ptr + (dib->height - 1) * dib->stride;
|
||||
src->x += dib->rect.left;
|
||||
src->y += dib->rect.top;
|
||||
|
Loading…
x
Reference in New Issue
Block a user