oleaut32: Properly initialize the result variant in VarImp.
This commit is contained in:
parent
0a6bdc79e3
commit
a7f4e8bf74
|
@ -5875,7 +5875,10 @@ HRESULT WINAPI VarImp(LPVARIANT left, LPVARIANT right, LPVARIANT result)
|
|||
if (FAILED(hres)) goto VarImp_Exit;
|
||||
|
||||
if (rightvt == VT_NULL)
|
||||
{
|
||||
memset( &rv, 0, sizeof(rv) );
|
||||
V_VT(&rv) = resvt;
|
||||
}
|
||||
else
|
||||
{
|
||||
hres = VariantCopy(&rv, right);
|
||||
|
|
Loading…
Reference in New Issue