Ignore logging missing env var on Windows

This commit is contained in:
Wojtek Figat
2023-04-17 19:02:58 +02:00
parent 9a84f9e4ac
commit 8c02dfbb3f

View File

@@ -923,7 +923,7 @@ bool WindowsPlatform::GetEnvironmentVariable(const String& name, String& value)
DWORD result = GetEnvironmentVariableW(*name, buffer, bufferSize);
if (result == 0)
{
LOG_WIN32_LAST_ERROR;
//LOG_WIN32_LAST_ERROR;
return true;
}
if (bufferSize < result)