Commit c082edb4 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

oleaut32: Remove redundant call to VariantClear().

parent e70eb536
...@@ -134,10 +134,7 @@ static HRESULT VARIANT_FromDisp(IDispatch* pdispIn, LCID lcid, void* pOut, ...@@ -134,10 +134,7 @@ static HRESULT VARIANT_FromDisp(IDispatch* pdispIn, LCID lcid, void* pOut,
VariantClear(&srcVar); VariantClear(&srcVar);
if (SUCCEEDED(hRet)) if (SUCCEEDED(hRet))
{
VARIANT_CopyData(&dstVar, vt, pOut); VARIANT_CopyData(&dstVar, vt, pOut);
VariantClear(&srcVar);
}
} }
else else
hRet = DISP_E_TYPEMISMATCH; hRet = DISP_E_TYPEMISMATCH;
......
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