mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-12-04 15:23:32 +08:00
Fixed uninitialized variables.
This commit is contained in:
parent
85e17ada02
commit
ae5689709c
@ -443,8 +443,8 @@ static BOOL test_gdi_BitBlt(UINT32 SrcFormat, UINT32 DstFormat)
|
||||
BOOL rc = FALSE;
|
||||
BOOL failed = FALSE;
|
||||
UINT32 x;
|
||||
HGDI_DC hdcSrc;
|
||||
HGDI_DC hdcDst;
|
||||
HGDI_DC hdcSrc = NULL;
|
||||
HGDI_DC hdcDst = NULL;
|
||||
const UINT32 RawFormat = PIXEL_FORMAT_RGB8;
|
||||
struct test_bitblt tests[] =
|
||||
{
|
||||
@ -491,9 +491,9 @@ static BOOL test_gdi_BitBlt(UINT32 SrcFormat, UINT32 DstFormat)
|
||||
{GDI_DPo, bmp_SRC, NULL}
|
||||
};
|
||||
const UINT32 number_tests = sizeof(tests) / sizeof(tests[0]);
|
||||
HGDI_BITMAP hBmpSrc;
|
||||
HGDI_BITMAP hBmpDst;
|
||||
HGDI_BITMAP hBmpDstOriginal;
|
||||
HGDI_BITMAP hBmpSrc = NULL;
|
||||
HGDI_BITMAP hBmpDst = NULL;
|
||||
HGDI_BITMAP hBmpDstOriginal = NULL;
|
||||
HGDI_BRUSH brush;
|
||||
gdiPalette g;
|
||||
gdiPalette* hPalette = &g;
|
||||
|
@ -670,8 +670,8 @@ int TestGdiLine(int argc, char* argv[])
|
||||
|
||||
for (i = 0; i < number_formats; i++)
|
||||
{
|
||||
HGDI_DC hdc;
|
||||
HGDI_PEN pen;
|
||||
HGDI_DC hdc = NULL;
|
||||
HGDI_PEN pen = NULL;
|
||||
HGDI_BITMAP hBmp = NULL;
|
||||
struct ropMap rop_map[] =
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user