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
b077271c
Commit
b077271c
authored
Nov 05, 2017
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xmllite/tests: Fix clang warning.
Reported by Gerald Pfeifer. Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9b7f9f2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
reader.c
dlls/xmllite/tests/reader.c
+2
-2
No files found.
dlls/xmllite/tests/reader.c
View file @
b077271c
...
...
@@ -273,7 +273,7 @@ static void test_read_state(IXmlReader *reader, XmlReadState expected,
state
=
-
1
;
/* invalid state value */
IXmlReader_GetProperty
(
reader
,
XmlReaderProperty_ReadState
,
&
state
);
if
(
exp_broken
==
-
1
)
if
(
exp_broken
==
expected
)
broken_state
=
FALSE
;
else
broken_state
=
broken
(
exp_broken
==
state
);
...
...
@@ -282,7 +282,7 @@ static void test_read_state(IXmlReader *reader, XmlReadState expected,
state_to_str
(
expected
),
state_to_str
(
state
));
}
#define TEST_READER_STATE(reader, state) test_read_state(reader, state,
-1
, __LINE__)
#define TEST_READER_STATE(reader, state) test_read_state(reader, state,
state
, __LINE__)
#define TEST_READER_STATE2(reader, state, brk) test_read_state(reader, state, brk, __LINE__)
#define reader_value(a,b) _reader_value(__LINE__,a,b)
...
...
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