Marcus Meissner : comctl32: Removed useless NULL check (Coverity).
Alexandre Julliard
julliard at winehq.org
Mon Nov 16 11:43:55 CST 2009
Module: wine
Branch: master
Commit: c2e0226d2f294fa3b925e21a07014f1d63782193
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c2e0226d2f294fa3b925e21a07014f1d63782193
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Sun Nov 15 16:57:11 2009 +0100
comctl32: Removed useless NULL check (Coverity).
---
dlls/comctl32/imagelist.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c
index 82d2664..a8101e6 100644
--- a/dlls/comctl32/imagelist.c
+++ b/dlls/comctl32/imagelist.c
@@ -673,7 +673,7 @@ ImageList_Create (INT cx, INT cy, UINT flags,
return himl;
cleanup:
- if (himl) ImageList_Destroy(himl);
+ ImageList_Destroy(himl);
return NULL;
}
More information about the wine-cvs
mailing list