mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 00:47:17 +00:00
mscms: Remove always false if subexpression (PVS-Studio).
This commit is contained in:
parent
dc467bf233
commit
be90236fab
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue