mscms: Remove unneeded shadow variable.
This commit is contained in:
parent
9cf97e18b4
commit
f796f967e2
|
@ -1473,7 +1473,6 @@ HPROFILE WINAPI OpenColorProfileW( PPROFILE profile, DWORD access, DWORD sharing
|
||||||
handle = CreateFileW( profile->pProfileData, flags, sharing, NULL, creation, 0, NULL );
|
handle = CreateFileW( profile->pProfileData, flags, sharing, NULL, creation, 0, NULL );
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DWORD size;
|
|
||||||
WCHAR *path;
|
WCHAR *path;
|
||||||
|
|
||||||
if (!GetColorDirectoryW( NULL, NULL, &size ) && GetLastError() == ERROR_MORE_DATA)
|
if (!GetColorDirectoryW( NULL, NULL, &size ) && GetLastError() == ERROR_MORE_DATA)
|
||||||
|
|
Loading…
Reference in New Issue