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