Sync with trunk r64509.
[reactos.git] / dll / win32 / mscms / profile.c
index f3cd133..c142a49 100644 (file)
@@ -357,8 +357,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;
 }
@@ -1235,8 +1233,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;
 }