[PATCH] mscms: removed duplicate return ret (Coverity)

Marcus Meissner marcus at jet.franken.de
Tue Jun 17 01:24:56 CDT 2014


1223065 Structurally dead code
---
 dlls/mscms/profile.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/mscms/profile.c b/dlls/mscms/profile.c
index 6759a96..c9c07a9 100644
--- a/dlls/mscms/profile.c
+++ b/dlls/mscms/profile.c
@@ -355,8 +355,6 @@ BOOL WINAPI GetColorProfileElement( HPROFILE handle, TAGTYPE type, DWORD offset,
     ret = get_tag_data( profile, type, offset, buffer, size );
     *ref = cmsTagLinkedTo( profile->cmsprofile, type ) != 0;
     release_profile( profile );
-    return ret;
-
 #endif /* HAVE_LCMS2 */
     return ret;
 }
-- 
1.8.4.5




More information about the wine-patches mailing list