Module: wine Branch: master Commit: f7cf428f9f9dad7866c0ddca5459adffc1631cf2 URL: https://gitlab.winehq.org/wine/wine/-/commit/f7cf428f9f9dad7866c0ddca5459adf...
Author: Jacek Caban jacek@codeweavers.com Date: Thu Nov 9 10:40:40 2023 +0100
kernel32/tests: Remove unused variable.
---
dlls/kernel32/tests/toolhelp.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/dlls/kernel32/tests/toolhelp.c b/dlls/kernel32/tests/toolhelp.c index 70ca23c4b20..7fdf597d3a6 100644 --- a/dlls/kernel32/tests/toolhelp.c +++ b/dlls/kernel32/tests/toolhelp.c @@ -316,7 +316,6 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid) HANDLE hSnapshot; THREADENTRY32 te; MODULEENTRY32 me; - int num = 0; unsigned curr_found = 0; unsigned sub_found = 0;
@@ -333,7 +332,6 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid) if (te.th32OwnerProcessID == sub_pcs_pid) sub_found++; if (winetest_debug > 1) trace("PID=%lx TID=%lx %ld\n", te.th32OwnerProcessID, te.th32ThreadID, te.tpBasePri); - num++; } while (pThread32Next( hSnapshot, &te )); } ok(curr_found, "couldn't find self in thread list\n"); @@ -350,7 +348,6 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid) if (te.th32OwnerProcessID == sub_pcs_pid) sub_found++; if (winetest_debug > 1) trace("PID=%lx TID=%lx %ld\n", te.th32OwnerProcessID, te.th32ThreadID, te.tpBasePri); - num--; } while (pThread32Next( hSnapshot, &te )); } ok(curr_found, "couldn't find self in thread list\n");