From 8c02dfbb3f8f4236c6343ed0def4c54b85ee5e85 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 17 Apr 2023 19:02:58 +0200 Subject: [PATCH] Ignore logging missing env var on Windows --- Source/Engine/Platform/Windows/WindowsPlatform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Platform/Windows/WindowsPlatform.cpp b/Source/Engine/Platform/Windows/WindowsPlatform.cpp index 8c99bff21..2a4cd2fd4 100644 --- a/Source/Engine/Platform/Windows/WindowsPlatform.cpp +++ b/Source/Engine/Platform/Windows/WindowsPlatform.cpp @@ -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)