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
64edf6f7
Commit
64edf6f7
authored
Jan 27, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10/tests: Add missing return value checks (Coverity).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1a98e653
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
usp10.c
dlls/usp10/tests/usp10.c
+2
-0
No files found.
dlls/usp10/tests/usp10.c
View file @
64edf6f7
...
...
@@ -3019,6 +3019,7 @@ static void test_ScriptXtoX(void)
WORD
clust
=
0
;
INT
advance
=
16
;
hr
=
ScriptXtoCP
(
iX
,
1
,
1
,
&
clust
,
psva
,
&
advance
,
&
sa
,
&
piCP
,
&
piTrailing
);
ok
(
hr
==
S_OK
,
"ScriptXtoCP failed, hr %#x.
\n
"
,
hr
);
ok
(
piCP
==
0
&&
piTrailing
==
0
,
"%i should return 0(%i) and 0(%i)
\n
"
,
iX
,
piCP
,
piTrailing
);
}
for
(
iX
=
8
;
iX
<
16
;
iX
++
)
...
...
@@ -3026,6 +3027,7 @@ static void test_ScriptXtoX(void)
WORD
clust
=
0
;
INT
advance
=
16
;
hr
=
ScriptXtoCP
(
iX
,
1
,
1
,
&
clust
,
psva
,
&
advance
,
&
sa
,
&
piCP
,
&
piTrailing
);
ok
(
hr
==
S_OK
,
"ScriptXtoCP failed, hr %#x.
\n
"
,
hr
);
ok
(
piCP
==
0
&&
piTrailing
==
1
,
"%i should return 0(%i) and 1(%i)
\n
"
,
iX
,
piCP
,
piTrailing
);
}
...
...
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