mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 10:11:36 +00:00
kernel32/tests: Remove unused variable.
This commit is contained in:
parent
18a81b3cb2
commit
f7cf428f9f
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue