Fix false-positive uninitialised warning on VS2017

This commit is contained in:
baldurk
2018-11-12 10:17:44 +00:00
parent ad4bc8911e
commit b7ddd9d259
+1 -1
View File
@@ -964,7 +964,7 @@ ExecuteResult Process::InjectIntoProcess(uint32_t pid, const rdcarray<Environmen
uint32_t Process::LaunchProcess(const char *app, const char *workingDir, const char *cmdLine,
bool internal, ProcessResult *result)
{
HANDLE hChildStdOutput_Rd, hChildStdError_Rd;
HANDLE hChildStdOutput_Rd = NULL, hChildStdError_Rd = NULL;
PROCESS_INFORMATION pi =
RunProcess(app, workingDir, cmdLine, {}, internal, result ? &hChildStdOutput_Rd : NULL,