Commit be90236f authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

mscms: Remove always false if subexpression (PVS-Studio).

parent dc467bf2
......@@ -649,7 +649,7 @@ BOOL WINAPI GetStandardColorSpaceProfileW( PCWSTR machine, DWORD id, PWSTR profi
lstrcatW( rgbprofile, rgbprofilefile );
len = lstrlenW( rgbprofile ) * sizeof(WCHAR);
if (*size < len || !profile)
if (*size < len)
{
*size = len;
SetLastError( ERROR_MORE_DATA );
......
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