Commit 724ee1d4 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

oleaut32/tests: Remove an always true conditional subexpression (PVS-Studio).

parent 9dc35ac4
......@@ -7548,7 +7548,7 @@ static void test_VarDiv(void)
}
/* Determine return type */
if (!(rightvt == VT_EMPTY))
if (rightvt != VT_EMPTY)
{
if (leftvt == VT_NULL || rightvt == VT_NULL)
resvt = VT_NULL;
......@@ -7577,7 +7577,7 @@ static void test_VarDiv(void)
else if (leftvt == VT_R4 || rightvt == VT_R4)
resvt = VT_R4;
}
else if (leftvt == VT_NULL && rightvt == VT_EMPTY)
else if (leftvt == VT_NULL)
resvt = VT_NULL;
else
bFail = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment