Commit 2fe189fd authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

mscms: Don't produce unreachable code during conditional compilation.

parent 837bd535
......@@ -305,7 +305,6 @@ BOOL WINAPI GetColorProfileFromHandle( HPROFILE profile, PBYTE buffer, PDWORD si
*/
BOOL WINAPI GetColorProfileHeader( HPROFILE profile, PPROFILEHEADER header )
{
BOOL ret = FALSE;
#ifdef HAVE_LCMS
icProfile *iccprofile = MSCMS_hprofile2iccprofile( profile );
......@@ -316,8 +315,9 @@ BOOL WINAPI GetColorProfileHeader( HPROFILE profile, PPROFILEHEADER header )
MSCMS_get_profile_header( iccprofile, header );
return TRUE;
#else
return FALSE;
#endif /* HAVE_LCMS */
return ret;
}
/******************************************************************************
......@@ -1065,7 +1065,6 @@ BOOL WINAPI SetColorProfileElement( HPROFILE profile, TAGTYPE type, DWORD offset
*/
BOOL WINAPI SetColorProfileHeader( HPROFILE profile, PPROFILEHEADER header )
{
BOOL ret = FALSE;
#ifdef HAVE_LCMS
icProfile *iccprofile = MSCMS_hprofile2iccprofile( profile );
DWORD access = MSCMS_hprofile2access( profile );
......@@ -1078,8 +1077,9 @@ BOOL WINAPI SetColorProfileHeader( HPROFILE profile, PPROFILEHEADER header )
MSCMS_set_profile_header( iccprofile, header );
return TRUE;
#else
return FALSE;
#endif /* HAVE_LCMS */
return ret;
}
/******************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment