msi: automation: Remove redundant VariantClear(pVarResult).
This commit is contained in:
parent
e7d25cb4fd
commit
1e6bcb028d
|
@ -758,8 +758,6 @@ static HRESULT WINAPI SummaryInfoImpl_Invoke(
|
||||||
|
|
||||||
static WCHAR szEmpty[] = {0};
|
static WCHAR szEmpty[] = {0};
|
||||||
|
|
||||||
VariantClear(pVarResult);
|
|
||||||
|
|
||||||
hr = DispGetParam(pDispParams, 0, VT_I4, &varg0, puArgErr);
|
hr = DispGetParam(pDispParams, 0, VT_I4, &varg0, puArgErr);
|
||||||
if (FAILED(hr)) return hr;
|
if (FAILED(hr)) return hr;
|
||||||
pid = V_I4(&varg0);
|
pid = V_I4(&varg0);
|
||||||
|
|
Loading…
Reference in New Issue