From 16427dcef2919b708c905795cb0a6b1920a9a0bd Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 21 Apr 2008 16:08:47 -0700 Subject: [PATCH 1/2] gdiplus: initialize variables in the graphics test. --- dlls/gdiplus/tests/graphics.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/gdiplus/tests/graphics.c b/dlls/gdiplus/tests/graphics.c index 6a6bc3d..edd98d7 100644 --- a/dlls/gdiplus/tests/graphics.c +++ b/dlls/gdiplus/tests/graphics.c @@ -99,6 +99,7 @@ static void test_save_restore(void) GpGraphics *graphics1, *graphics2; node * state_log = NULL; HDC hdc = GetDC(0); + state_a = state_b = state_c = 0xdeadbeef; /* Invalid saving. */ GdipCreateFromHDC(hdc, &graphics1); -- 1.5.2.2