Alexandre Julliard : gdi32/tests: Fix a compiler warning.
Alexandre Julliard
julliard at winehq.org
Fri Dec 14 07:39:52 CST 2007
Module: wine
Branch: master
Commit: 976939745d8c24efc9331687c6bca13a3de32cf9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=976939745d8c24efc9331687c6bca13a3de32cf9
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Dec 14 14:31:06 2007 +0100
gdi32/tests: Fix a compiler warning.
---
dlls/gdi32/tests/bitmap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/tests/bitmap.c b/dlls/gdi32/tests/bitmap.c
index 394d694..0964f0d 100644
--- a/dlls/gdi32/tests/bitmap.c
+++ b/dlls/gdi32/tests/bitmap.c
@@ -1701,7 +1701,7 @@ static void test_CreateBitmap(void)
BITMAP bmp;
HDC screenDC = GetDC(0);
HDC hdc = CreateCompatibleDC(screenDC);
- UINT i, expect;
+ UINT i, expect = 0;
/* all of these are the stock monochrome bitmap */
HBITMAP bm = CreateCompatibleBitmap(hdc, 0, 0);
More information about the wine-cvs
mailing list