Skip to content

Commit 5b2db02

Browse files
committed
CI: Fix building for GCC in Windows
1 parent 0f69dc5 commit 5b2db02

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 2.6.2
2+
3+
Bugfixes:
4+
* Fix building for GCC in Windows (Windows)
5+
16
# 2.6.1
27

38
Features:

src/detection/terminalshell/terminalshell_windows.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ bool fftsGetShellVersion(FFstrbuf* exe, const char* exeName, FFstrbuf* version);
8686

8787
static uint32_t getShellInfo(FFShellResult* result, uint32_t pid)
8888
{
89-
uint32_t ppid;
89+
uint32_t ppid = 0;
9090

9191
while (pid != 0 && getProcessInfo(pid, &ppid, &result->processName, &result->exe, &result->exeName, &result->exePath, NULL))
9292
{

0 commit comments

Comments
 (0)