Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
3e88d45f
Commit
3e88d45f
authored
Jan 29, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Don't test the implementation details of the SList structure.
parent
b8712b7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
sync.c
dlls/kernel32/tests/sync.c
+1
-4
No files found.
dlls/kernel32/tests/sync.c
View file @
3e88d45f
...
...
@@ -197,7 +197,7 @@ static void test_slist(void)
int
value
;
}
item1
,
item2
,
item3
,
*
pitem
;
SLIST_HEADER
slist_header
,
test_header
;
SLIST_HEADER
slist_header
;
PSLIST_ENTRY
entry
;
USHORT
size
;
...
...
@@ -224,11 +224,8 @@ static void test_slist(void)
return
;
}
memset
(
&
test_header
,
0
,
sizeof
(
test_header
));
memset
(
&
slist_header
,
0xFF
,
sizeof
(
slist_header
));
pInitializeSListHead
(
&
slist_header
);
ok
(
memcmp
(
&
test_header
,
&
slist_header
,
sizeof
(
SLIST_HEADER
))
==
0
,
"InitializeSListHead didn't zero-fill list header
\n
"
);
size
=
pQueryDepthSList
(
&
slist_header
);
ok
(
size
==
0
,
"initially created slist has size %d, expected 0
\n
"
,
size
);
...
...
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