ole32: Remove useless parameter check.

This commit is contained in:
Nikolay Sivov 2010-03-17 18:21:52 +03:00 committed by Alexandre Julliard
parent c090624fbc
commit 0498534b6b
1 changed files with 3 additions and 1 deletions

View File

@ -181,7 +181,9 @@ static HRESULT WINAPI IPropertyStorage_fnQueryInterface(
{
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;
*ppvObject = 0;