Commit f7cf428f authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

kernel32/tests: Remove unused variable.

parent 18a81b3c
...@@ -316,7 +316,6 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid) ...@@ -316,7 +316,6 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid)
HANDLE hSnapshot; HANDLE hSnapshot;
THREADENTRY32 te; THREADENTRY32 te;
MODULEENTRY32 me; MODULEENTRY32 me;
int num = 0;
unsigned curr_found = 0; unsigned curr_found = 0;
unsigned sub_found = 0; unsigned sub_found = 0;
...@@ -333,7 +332,6 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid) ...@@ -333,7 +332,6 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid)
if (te.th32OwnerProcessID == sub_pcs_pid) sub_found++; if (te.th32OwnerProcessID == sub_pcs_pid) sub_found++;
if (winetest_debug > 1) if (winetest_debug > 1)
trace("PID=%lx TID=%lx %ld\n", te.th32OwnerProcessID, te.th32ThreadID, te.tpBasePri); trace("PID=%lx TID=%lx %ld\n", te.th32OwnerProcessID, te.th32ThreadID, te.tpBasePri);
num++;
} while (pThread32Next( hSnapshot, &te )); } while (pThread32Next( hSnapshot, &te ));
} }
ok(curr_found, "couldn't find self in thread list\n"); 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) ...@@ -350,7 +348,6 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid)
if (te.th32OwnerProcessID == sub_pcs_pid) sub_found++; if (te.th32OwnerProcessID == sub_pcs_pid) sub_found++;
if (winetest_debug > 1) if (winetest_debug > 1)
trace("PID=%lx TID=%lx %ld\n", te.th32OwnerProcessID, te.th32ThreadID, te.tpBasePri); trace("PID=%lx TID=%lx %ld\n", te.th32OwnerProcessID, te.th32ThreadID, te.tpBasePri);
num--;
} while (pThread32Next( hSnapshot, &te )); } while (pThread32Next( hSnapshot, &te ));
} }
ok(curr_found, "couldn't find self in thread list\n"); ok(curr_found, "couldn't find self in thread list\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment