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
53c54d92
Commit
53c54d92
authored
Oct 28, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 29, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32/tests: Remove always true ok conditions (PVS-Studio).
parent
75858599
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 @
53c54d92
...
...
@@ -7403,10 +7403,10 @@ static void test_VarPow(void)
hres
=
pVarPow
(
&
cy
,
&
right
,
&
result
);
if
(
hres
==
S_OK
)
{
ok
(
hres
==
S_OK
&&
V_VT
(
&
result
)
==
VT_R8
,
ok
(
V_VT
(
&
result
)
==
VT_R8
,
"VARPOW: expected coerced hres 0x%X type VT_R8, got hres 0x%X type %s!
\n
"
,
S_OK
,
hres
,
vtstr
(
V_VT
(
&
result
)));
ok
(
hres
==
S_OK
&&
EQ_DOUBLE
(
V_R8
(
&
result
),
4
.
0
),
ok
(
EQ_DOUBLE
(
V_R8
(
&
result
),
4
.
0
),
"VARPOW: CY value %f, expected %f
\n
"
,
V_R8
(
&
result
),
4
.
0
);
}
else
...
...
@@ -7440,10 +7440,10 @@ static void test_VarPow(void)
hres
=
pVarPow
(
&
dec
,
&
right
,
&
result
);
if
(
hres
==
S_OK
)
{
ok
(
hres
==
S_OK
&&
V_VT
(
&
result
)
==
VT_R8
,
ok
(
V_VT
(
&
result
)
==
VT_R8
,
"VARPOW: expected coerced hres 0x%X type VT_R8, got hres 0x%X type %s!
\n
"
,
S_OK
,
hres
,
vtstr
(
V_VT
(
&
result
)));
ok
(
hres
==
S_OK
&&
EQ_DOUBLE
(
V_R8
(
&
result
),
4
.
0
),
ok
(
EQ_DOUBLE
(
V_R8
(
&
result
),
4
.
0
),
"VARPOW: DECIMAL value %f, expected %f
\n
"
,
V_R8
(
&
result
),
4
.
0
);
}
else
...
...
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