Michael Stefaniuc : comctl32/tests: Remove redundant not-NULL check ( coccinellery).
Module: wine Branch: master Commit: e0419391d74b595689d450b62f6f02ea538316d2 URL: https://source.winehq.org/git/wine.git/?a=commit;h=e0419391d74b595689d450b62... Author: Michael Stefaniuc <mstefani(a)winehq.org> Date: Fri Mar 1 21:08:23 2019 +0100 comctl32/tests: Remove redundant not-NULL check (coccinellery). Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/comctl32/tests/imagelist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/comctl32/tests/imagelist.c b/dlls/comctl32/tests/imagelist.c index 86d0fab..0e62ab9 100644 --- a/dlls/comctl32/tests/imagelist.c +++ b/dlls/comctl32/tests/imagelist.c @@ -1559,8 +1559,7 @@ cleanup: if(hbmDst) DeleteObject(hbmDst); - if(hdcDst) - DeleteDC(hdcDst); + DeleteDC(hdcDst); if(hbmMask) DeleteObject(hbmMask);
participants (1)
-
Alexandre Julliard