Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
f7cf428f
Commit
f7cf428f
authored
Nov 09, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Remove unused variable.
parent
18a81b3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
toolhelp.c
dlls/kernel32/tests/toolhelp.c
+0
-3
No files found.
dlls/kernel32/tests/toolhelp.c
View file @
f7cf428f
...
...
@@ -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
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment