ole32: Remove useless parameter check.
This commit is contained in:
parent
c090624fbc
commit
0498534b6b
|
@ -181,7 +181,9 @@ static HRESULT WINAPI IPropertyStorage_fnQueryInterface(
|
||||||
{
|
{
|
||||||
PropertyStorage_impl *This = (PropertyStorage_impl *)iface;
|
PropertyStorage_impl *This = (PropertyStorage_impl *)iface;
|
||||||
|
|
||||||
if ( (This==0) || (ppvObject==0) )
|
TRACE("(%p, %s, %p)\n", This, debugstr_guid(riid), ppvObject);
|
||||||
|
|
||||||
|
if (!ppvObject)
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
|
|
||||||
*ppvObject = 0;
|
*ppvObject = 0;
|
||||||
|
|
Loading…
Reference in New Issue