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

This commit is contained in:
Michael Stefaniuc 2015-02-21 18:06:16 +01:00 committed by Alexandre Julliard
parent 9dc35ac468
commit 724ee1d4fc
1 changed files with 2 additions and 2 deletions

View File

@ -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;