From 4ebc4cbc0dbb85e7b92fca65816f11a1887f1cc9 Mon Sep 17 00:00:00 2001 From: Jaime Bernardo Date: Wed, 15 Nov 2023 12:56:52 +0000 Subject: [PATCH] [Build]Fix uninitialized variable error on VS 17.8 (#29860) --- .../EnvironmentVariablesModuleInterface/dllmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/EnvironmentVariables/EnvironmentVariablesModuleInterface/dllmain.cpp b/src/modules/EnvironmentVariables/EnvironmentVariablesModuleInterface/dllmain.cpp index 9adbb3cd10..a4158d1c66 100644 --- a/src/modules/EnvironmentVariables/EnvironmentVariablesModuleInterface/dllmain.cpp +++ b/src/modules/EnvironmentVariables/EnvironmentVariablesModuleInterface/dllmain.cpp @@ -53,7 +53,7 @@ private: //contains the non localized key of the powertoy std::wstring app_key; - HANDLE m_hProcess; + HANDLE m_hProcess = nullptr; HANDLE m_hShowEvent;