Commit 53338081 authored by Alexandre Julliard's avatar Alexandre Julliard

mscms: Fix a couple of compiler warnings when lcms is missing.

parent 81ae4182
......@@ -127,9 +127,13 @@ static BOOL set_profile_device_key( PCWSTR file, const BYTE *value, DWORD size )
SetLastError( ERROR_INVALID_PROFILE );
return FALSE;
}
if (!GetColorProfileHeader( handle, &header ))
{
CloseColorProfile( handle );
SetLastError( ERROR_INVALID_PROFILE );
return FALSE;
}
RegCreateKeyExW( HKEY_LOCAL_MACHINE, icmW, 0, NULL, 0, KEY_ALL_ACCESS, NULL, &icm_key, NULL );
GetColorProfileHeader( handle, &header );
MSCMS_basename( file, basenameW );
sprintfW( classW, fmtW, (header.phClass >> 24) & 0xff, (header.phClass >> 16) & 0xff,
......
......@@ -151,7 +151,7 @@ BOOL WINAPI RegisterCMMW( PCWSTR machine, DWORD id, PCWSTR dll )
BOOL WINAPI SelectCMM( DWORD id )
{
FIXME( "( %s ) stub\n", MSCMS_dbgstr_tag(id) );
FIXME( "(%x) stub\n", id );
return TRUE;
}
......
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