Gerald Pfeifer : gdi32/tests: Remove two variables which are not really used from test_clipping.
Alexandre Julliard
julliard at winehq.org
Mon May 10 11:59:13 CDT 2010
Module: wine
Branch: master
Commit: fcf831aceffed81c983b14b7552f9db4f39e070a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fcf831aceffed81c983b14b7552f9db4f39e070a
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Fri May 7 22:50:45 2010 +0200
gdi32/tests: Remove two variables which are not really used from test_clipping.
---
dlls/gdi32/tests/bitmap.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/dlls/gdi32/tests/bitmap.c b/dlls/gdi32/tests/bitmap.c
index 882d548..d94239f 100644
--- a/dlls/gdi32/tests/bitmap.c
+++ b/dlls/gdi32/tests/bitmap.c
@@ -2810,9 +2810,7 @@ static void test_GdiAlphaBlend(void)
static void test_clipping(void)
{
HBITMAP bmpDst;
- HBITMAP oldDst;
HBITMAP bmpSrc;
- HBITMAP oldSrc;
HRGN hRgn;
LPVOID bits;
BOOL result;
@@ -2830,11 +2828,11 @@ static void test_clipping(void)
bmpDst = CreateDIBSection( hdcDst, &bmpinfo, DIB_RGB_COLORS, &bits, NULL, 0 );
ok(bmpDst != NULL, "Couldn't create destination bitmap\n");
- oldDst = SelectObject( hdcDst, bmpDst );
+ SelectObject( hdcDst, bmpDst );
bmpSrc = CreateDIBSection( hdcSrc, &bmpinfo, DIB_RGB_COLORS, &bits, NULL, 0 );
ok(bmpSrc != NULL, "Couldn't create source bitmap\n");
- oldSrc = SelectObject( hdcSrc, bmpSrc );
+ SelectObject( hdcSrc, bmpSrc );
result = BitBlt( hdcDst, 0, 0, 100, 100, hdcSrc, 100, 100, SRCCOPY );
ok(result, "BitBlt failed\n");
More information about the wine-cvs
mailing list