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
e5e86776
Commit
e5e86776
authored
Mar 24, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 24, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Move string allocation after function pointer check (Coverity).
parent
02228ff5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vartest.c
dlls/oleaut32/tests/vartest.c
+4
-4
No files found.
dlls/oleaut32/tests/vartest.c
View file @
e5e86776
...
...
@@ -6000,11 +6000,11 @@ static void test_VarAnd(void)
VARTYPE
i
;
HRESULT
hres
;
CHECKPTR
(
VarAnd
);
true_str
=
SysAllocString
(
szTrue
);
false_str
=
SysAllocString
(
szFalse
);
CHECKPTR
(
VarAnd
);
/* Test all possible flag/vt combinations & the resulting vt type */
for
(
i
=
0
;
i
<
sizeof
(
ExtraFlags
)
/
sizeof
(
ExtraFlags
[
0
]);
i
++
)
{
...
...
@@ -7479,11 +7479,11 @@ static void test_VarDiv(void)
HRESULT
hres
;
double
r
;
CHECKPTR
(
VarDiv
);
num1_str
=
SysAllocString
(
str1
);
num2_str
=
SysAllocString
(
str2
);
CHECKPTR
(
VarDiv
);
/* Test all possible flag/vt combinations & the resulting vt type */
for
(
i
=
0
;
i
<
sizeof
(
ExtraFlags
)
/
sizeof
(
ExtraFlags
[
0
]);
i
++
)
{
...
...
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