gdiplus/tests: initialize buffer in test_GdipCreateBitmapFromHBITMAP
Dan Kegel
dank at kegel.com
Sat Feb 6 12:44:21 CST 2010
Fixes the warning
Conditional jump or move depends on uninitialised value(s)
at _XPutPixel1 (ImUtil.c:819)
by X11DRV_SetBitmapBits (bitmap.c:370)
by X11DRV_CreateBitmap (bitmap.c:186)
by BITMAP_SetOwnerDC (bitmap.c:548)
by BITMAP_SelectObject (bitmap.c:595)
by SelectObject (gdiobj.c:1054)
by GdipCreateBitmapFromHBITMAP (image.c:2844)
by test_GdipCreateBitmapFromHBITMAP (image.c:535)
by func_image (image.c:1647)
by run_test (test.h:535)
by main (test.h:585)
Uninitialised value was created by a stack allocation
at test_GdipCreateBitmapFromHBITMAP (image.c:501)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdiplus2.patch
Type: text/x-patch
Size: 477 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100206/cc3afaf2/attachment.bin>
More information about the wine-patches
mailing list