Commit 3b437b55 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

user32/tests: Prevent some 'deadcode' (Coverity).

parent d8669f9e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment