user32/tests: Prevent some 'deadcode' (Coverity).
This commit is contained in:
parent
56b56a686a
commit
d3b3b3e0b9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue