Skip to content

Commit a767104

Browse files
committed
TerminalShell (Windows): more variable initialization fixes
1 parent 18fced9 commit a767104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/terminalshell/terminalshell_windows.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ static bool detectDefaultTerminal(FFTerminalResult* result)
291291

292292
static uint32_t getTerminalInfo(FFTerminalResult* result, uint32_t pid)
293293
{
294-
uint32_t ppid;
294+
uint32_t ppid = 0;
295295
bool hasGui;
296296

297297
while (pid != 0 && getProcessInfo(pid, &ppid, &result->processName, &result->exe, &result->exeName, &result->exePath, &hasGui))

0 commit comments

Comments
 (0)