[SHELL32] CFolderItemVerb: Zero-initialize output parameters

This commit is contained in:
Mark Jansen 2022-09-01 21:55:04 +02:00
parent 9efa7cc498
commit 6a9696f10b
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -42,12 +42,20 @@ void CFolderItemVerb::Init(IContextMenu* menu, BSTR name)
HRESULT STDMETHODCALLTYPE CFolderItemVerb::get_Application(IDispatch **ppid)
{
TRACE("(%p, %p)\n", this, ppid);
if (ppid)
*ppid = NULL;
return E_NOTIMPL;
}
HRESULT STDMETHODCALLTYPE CFolderItemVerb::get_Parent(IDispatch **ppid)
{
TRACE("(%p, %p)\n", this, ppid);
if (ppid)
*ppid = NULL;
return E_NOTIMPL;
}