ole32: Remove useless parameter check.
authorNikolay Sivov <nsivov@codeweavers.com>
Wed, 17 Mar 2010 15:21:52 +0000 (18:21 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 17 Mar 2010 15:35:47 +0000 (16:35 +0100)
dlls/ole32/stg_prop.c

index 52153a20d440a1660a11269569092af8d471f2e8..b3362bc21de9c5d5893177aaafbe269d636383dd 100644 (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;