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
c1e7d16f
Commit
c1e7d16f
authored
Dec 14, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi/tests: Replace some '#if 0's with 'if (0)'s.
parent
cbec9337
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
clist.c
dlls/shlwapi/tests/clist.c
+6
-4
No files found.
dlls/shlwapi/tests/clist.c
View file @
c1e7d16f
...
@@ -369,9 +369,10 @@ static void test_CList(void)
...
@@ -369,9 +369,10 @@ static void test_CList(void)
/* The call succeeds but the item is not inserted, except on some early
/* The call succeeds but the item is not inserted, except on some early
* versions which return failure. Wine behaves like later versions.
* versions which return failure. Wine behaves like later versions.
*/
*/
#if 0
if
(
0
)
{
ok
(
hRet
==
S_OK
,
"failed bad element size
\n
"
);
ok
(
hRet
==
S_OK
,
"failed bad element size
\n
"
);
#endif
}
inserted
=
pSHLWAPI_22
(
list
,
33
);
inserted
=
pSHLWAPI_22
(
list
,
33
);
ok
(
inserted
==
NULL
,
"inserted bad element size
\n
"
);
ok
(
inserted
==
NULL
,
"inserted bad element size
\n
"
);
...
@@ -380,9 +381,10 @@ static void test_CList(void)
...
@@ -380,9 +381,10 @@ static void test_CList(void)
inserted
->
ulId
=
~
0U
;
inserted
->
ulId
=
~
0U
;
hRet
=
pSHLWAPI_20
(
&
list
,
inserted
);
hRet
=
pSHLWAPI_20
(
&
list
,
inserted
);
/* See comment above, some early versions fail this call */
/* See comment above, some early versions fail this call */
#if 0
if
(
0
)
{
ok
(
hRet
==
S_OK
,
"failed adding a container
\n
"
);
ok
(
hRet
==
S_OK
,
"failed adding a container
\n
"
);
#endif
}
item
=
SHLWAPI_CLIST_items
;
item
=
SHLWAPI_CLIST_items
;
/* Look for nonexistent item in populated list */
/* Look for nonexistent item in populated list */
...
...
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