Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Initialize variant return value. (#26871)
Browse files Browse the repository at this point in the history
* Initialize variant return value.

* Move VariantInit call.
  • Loading branch information
jkoritzinsky authored Sep 25, 2019
1 parent 5b1c001 commit 163b30c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ namespace
}

DISPPARAMS params = { NULL, NULL, 0, 0 };
VariantInit(pResult);
hr = dele->Invoke(
dispid,
IID_NULL,
Expand Down

0 comments on commit 163b30c

Please sign in to comment.