Commit d3b3b3e0 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

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

parent 56b56a68
......@@ -1111,11 +1111,6 @@ static void test_DrawIcon(void)
check_alpha_draw(hdcDst, FALSE, FALSE, 32, __LINE__);
todo_wine check_alpha_draw(hdcDst, FALSE, 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