oleaut32: Remove redundant call to VariantClear().
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e70eb53669
commit
c082edb4bd
|
@ -134,10 +134,7 @@ static HRESULT VARIANT_FromDisp(IDispatch* pdispIn, LCID lcid, void* pOut,
|
|||
VariantClear(&srcVar);
|
||||
|
||||
if (SUCCEEDED(hRet))
|
||||
{
|
||||
VARIANT_CopyData(&dstVar, vt, pOut);
|
||||
VariantClear(&srcVar);
|
||||
}
|
||||
}
|
||||
else
|
||||
hRet = DISP_E_TYPEMISMATCH;
|
||||
|
|
Loading…
Reference in New Issue