Commit 1aa53bc4 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

gdi32: Initialize 'param' field (Coverity).

For consistency with the rest of the code, initialize both 'free' and 'param' fields. Signed-off-by: 's avatarNikolay Sivov <nsivov@codeweavers.com> Signed-off-by: 's avatarHuw Davies <huw@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent f2538c6e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment