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

Marcus Meissner marcus at jet.franken.de
Tue Jun 17 01:26:25 CDT 2014


1223066 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 c9c07a9..d6ee715 100644
--- a/dlls/mscms/profile.c
+++ b/dlls/mscms/profile.c
@@ -1231,8 +1231,6 @@ BOOL WINAPI SetColorProfileElement( HPROFILE handle, TAGTYPE type, DWORD offset,
     }
     ret = set_tag_data( profile, type, offset, buffer, size );
     release_profile( profile );
-    return ret;
-
 #endif /* HAVE_LCMS2 */
     return ret;
 }
-- 
1.8.4.5




More information about the wine-patches mailing list