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:
Nikolay Sivov 2015-12-22 01:14:25 +03:00 committed by Alexandre Julliard
parent f2538c6e26
commit 1aa53bc470

View File

@ -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;