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
a8ad5cd5
Commit
a8ad5cd5
authored
Jun 03, 2008
by
Dan Kegel
Committed by
Alexandre Julliard
Jun 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Use VariantInit, not VariantClear, to initialize new variants.
parent
ecfa0fbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vartype.c
dlls/oleaut32/tests/vartype.c
+4
-4
No files found.
dlls/oleaut32/tests/vartype.c
View file @
a8ad5cd5
...
...
@@ -5792,8 +5792,8 @@ static void test_NullByRef(void)
VARIANT
v1
,
v2
;
HRESULT
hRes
;
Variant
Clear
(
&
v1
);
Variant
Clear
(
&
v2
);
Variant
Init
(
&
v1
);
Variant
Init
(
&
v2
);
V_VT
(
&
v1
)
=
VT_BYREF
|
VT_VARIANT
;
V_BYREF
(
&
v1
)
=
0
;
...
...
@@ -5826,8 +5826,8 @@ static void test_ChangeType_keep_dst(void)
HRESULT
hres
;
bstr
=
SysAllocString
(
testW
);
Variant
Clear
(
&
v1
);
Variant
Clear
(
&
v2
);
Variant
Init
(
&
v1
);
Variant
Init
(
&
v2
);
V_VT
(
&
v1
)
=
VT_BSTR
;
V_BSTR
(
&
v1
)
=
bstr
;
hres
=
VariantChangeTypeEx
(
&
v1
,
&
v1
,
0
,
0
,
VT_INT
);
...
...
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