TerminalShell (Windows): more variable initialization fixes

This commit is contained in:
李通洲
2024-01-21 17:51:18 +08:00
parent 18fced9b2e
commit a767104b96
@@ -291,7 +291,7 @@ conhost:
static uint32_t getTerminalInfo(FFTerminalResult* result, uint32_t pid)
{
uint32_t ppid;
uint32_t ppid = 0;
bool hasGui;
while (pid != 0 && getProcessInfo(pid, &ppid, &result->processName, &result->exe, &result->exeName, &result->exePath, &hasGui))