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

This commit is contained in:
Michael Stefaniuc 2014-12-22 11:28:58 +01:00 committed by Alexandre Julliard
parent dc467bf233
commit be90236fab
1 changed files with 1 additions and 1 deletions

View File

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