Skip to content
Snippets Groups Projects
Commit 1aa53bc4 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard
Browse files

gdi32: Initialize 'param' field (Coverity).


For consistency with the rest of the code, initialize both
'free' and 'param' fields.

Signed-off-by: default avatarNikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: default avatarHuw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent f2538c6e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment