Michael Stefaniuc : comctl32/tests: Remove redundant not-NULL check ( coccinellery).
Alexandre Julliard
julliard at winehq.org
Mon Mar 4 15:08:24 CST 2019
Module: wine
Branch: master
Commit: e0419391d74b595689d450b62f6f02ea538316d2
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e0419391d74b595689d450b62f6f02ea538316d2
Author: Michael Stefaniuc <mstefani at 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 at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at 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);
More information about the wine-cvs
mailing list