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
7de70a48
Commit
7de70a48
authored
Feb 16, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Make sure to use return values (LLVM/Clang).
parent
b6bea541
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
format.c
dlls/msi/tests/format.c
+2
-0
No files found.
dlls/msi/tests/format.c
View file @
7de70a48
...
...
@@ -1023,6 +1023,7 @@ static void test_formatrecord(void)
ok
(
r
==
ERROR_SUCCESS
,
"format failed
\n
"
);
r
=
MsiRecordSetString
(
hrec
,
0
,
"[]"
);
ok
(
r
==
ERROR_SUCCESS
,
"set string failed
\n
"
);
sz
=
sizeof
buffer
;
r
=
MsiFormatRecord
(
0
,
hrec
,
buffer
,
&
sz
);
ok
(
sz
==
2
,
"size wrong
\n
"
);
...
...
@@ -1964,6 +1965,7 @@ static void test_formatrecord_package(void)
r
=
MsiRecordSetString
(
hrec
,
4
,
"[prop]"
);
ok
(
r
==
ERROR_SUCCESS
,
"set string failed
\n
"
);
r
=
MsiRecordSetString
(
hrec
,
5
,
"[noprop]"
);
ok
(
r
==
ERROR_SUCCESS
,
"set string failed
\n
"
);
sz
=
sizeof
buffer
;
r
=
MsiFormatRecord
(
package
,
hrec
,
buffer
,
&
sz
);
ok
(
r
==
ERROR_SUCCESS
,
"format failed with empty buffer (%i)
\n
"
,
r
);
...
...
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