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
45839dcc
Commit
45839dcc
authored
Oct 29, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Remove an always true if-subcondition (PVS-Studio).
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
662f62fa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
variant.c
dlls/oleaut32/variant.c
+2
-2
No files found.
dlls/oleaut32/variant.c
View file @
45839dcc
...
@@ -3606,7 +3606,7 @@ HRESULT WINAPI VarDiv(LPVARIANT left, LPVARIANT right, LPVARIANT result)
...
@@ -3606,7 +3606,7 @@ HRESULT WINAPI VarDiv(LPVARIANT left, LPVARIANT right, LPVARIANT result)
}
}
/* Determine return type */
/* Determine return type */
if
(
!
(
rightvt
==
VT_EMPTY
)
)
if
(
rightvt
!=
VT_EMPTY
)
{
{
if
(
leftvt
==
VT_NULL
||
rightvt
==
VT_NULL
)
if
(
leftvt
==
VT_NULL
||
rightvt
==
VT_NULL
)
{
{
...
@@ -3639,7 +3639,7 @@ HRESULT WINAPI VarDiv(LPVARIANT left, LPVARIANT right, LPVARIANT result)
...
@@ -3639,7 +3639,7 @@ HRESULT WINAPI VarDiv(LPVARIANT left, LPVARIANT right, LPVARIANT result)
else
if
(
leftvt
==
VT_R4
||
rightvt
==
VT_R4
)
else
if
(
leftvt
==
VT_R4
||
rightvt
==
VT_R4
)
resvt
=
VT_R4
;
resvt
=
VT_R4
;
}
}
else
if
(
leftvt
==
VT_NULL
&&
rightvt
==
VT_EMPTY
)
else
if
(
leftvt
==
VT_NULL
)
{
{
V_VT
(
result
)
=
VT_NULL
;
V_VT
(
result
)
=
VT_NULL
;
hres
=
S_OK
;
hres
=
S_OK
;
...
...
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