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
02228ff5
Commit
02228ff5
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: Remove early returns on test failure that never happen.
parent
cfb4b0a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
safearray.c
dlls/oleaut32/tests/safearray.c
+0
-12
No files found.
dlls/oleaut32/tests/safearray.c
View file @
02228ff5
...
...
@@ -1080,8 +1080,6 @@ static void test_SafeArrayGetPutElement(void)
return
;
/* Some early versions can't handle > 3 dims */
ok
(
sa
->
cbElements
==
sizeof
(
value
),
"int size mismatch
\n
"
);
if
(
sa
->
cbElements
!=
sizeof
(
value
))
return
;
/* Failure cases */
for
(
x
=
0
;
x
<
NUM_DIMENSIONS
;
x
++
)
...
...
@@ -1233,8 +1231,6 @@ static void test_SafeArrayGetPutElement_BSTR(void)
return
;
ok
(
sa
->
cbElements
==
sizeof
(
BSTR
),
"BSTR size mismatch
\n
"
);
if
(
sa
->
cbElements
!=
sizeof
(
BSTR
))
return
;
indices
[
0
]
=
sab
.
lLbound
;
value
=
SysAllocString
(
szTest
);
...
...
@@ -1297,8 +1293,6 @@ static void test_SafeArrayGetPutElement_IUnknown(void)
return
;
ok
(
sa
->
cbElements
==
sizeof
(
LPUNKNOWN
),
"LPUNKNOWN size mismatch
\n
"
);
if
(
sa
->
cbElements
!=
sizeof
(
LPUNKNOWN
))
return
;
indices
[
0
]
=
sab
.
lLbound
;
xtunk
.
ref
=
1
;
...
...
@@ -1331,8 +1325,6 @@ static void test_SafeArrayRedim_IUnknown(void)
return
;
ok
(
sa
->
cbElements
==
sizeof
(
LPUNKNOWN
),
"LPUNKNOWN size mismatch
\n
"
);
if
(
sa
->
cbElements
!=
sizeof
(
LPUNKNOWN
))
return
;
indices
[
0
]
=
2
;
xtunk
.
ref
=
1
;
...
...
@@ -1363,8 +1355,6 @@ static void test_SafeArrayGetPutElement_VARIANT(void)
return
;
ok
(
sa
->
cbElements
==
sizeof
(
VARIANT
),
"VARIANT size mismatch
\n
"
);
if
(
sa
->
cbElements
!=
sizeof
(
VARIANT
))
return
;
indices
[
0
]
=
sab
.
lLbound
;
V_VT
(
&
value
)
=
VT_I4
;
...
...
@@ -1418,8 +1408,6 @@ static void test_SafeArrayCopyData(void)
return
;
ok
(
sa
->
cbElements
==
sizeof
(
int
),
"int size mismatch
\n
"
);
if
(
sa
->
cbElements
!=
sizeof
(
int
))
return
;
/* Fill the source array with some data; it doesn't matter what */
for
(
dimension
=
0
;
dimension
<
size
;
dimension
++
)
...
...
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