Commit 6e9693ed authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

oleaut32/tests: Remove redundant assignment (PVS-Studio).

parent 6d3ca3dd
...@@ -2158,7 +2158,7 @@ static void test_VarAbs(void) ...@@ -2158,7 +2158,7 @@ static void test_VarAbs(void)
V_VT(&vDst) = VT_EMPTY; V_VT(&vDst) = VT_EMPTY;
hres = pVarAbs(&v,&vDst); hres = pVarAbs(&v,&vDst);
if (ExtraFlags[i] & (VT_ARRAY|VT_ARRAY) || if (ExtraFlags[i] & VT_ARRAY ||
(!ExtraFlags[i] && (vt == VT_UNKNOWN || vt == VT_BSTR || (!ExtraFlags[i] && (vt == VT_UNKNOWN || vt == VT_BSTR ||
vt == VT_DISPATCH || vt == VT_ERROR || vt == VT_RECORD))) vt == VT_DISPATCH || vt == VT_ERROR || vt == VT_RECORD)))
{ {
......
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