[PATCH] Prevent some 'deadcode'
Paul Vriens
Paul.Vriens.Wine at gmail.com
Tue Jun 23 01:14:29 CDT 2009
---
dlls/user32/tests/cursoricon.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/dlls/user32/tests/cursoricon.c b/dlls/user32/tests/cursoricon.c
index 26c533b..b15acc2 100644
--- a/dlls/user32/tests/cursoricon.c
+++ b/dlls/user32/tests/cursoricon.c
@@ -1218,11 +1218,6 @@ static void test_DrawIconEx(void)
check_alpha_draw(hdcDst, TRUE, FALSE, 32, __LINE__);
todo_wine check_alpha_draw(hdcDst, TRUE, TRUE, 32, __LINE__);
- SelectObject(hdcDst, bmpOld);
- DeleteObject(bmpDst);
- bmpOld = NULL;
- bmpDst = NULL;
-
cleanup:
if(bmpOld)
SelectObject(hdcDst, bmpOld);
--
1.6.0.6
--------------080405000206080701000204--
More information about the wine-patches
mailing list