From 0498534b6b1193f60ba63af00a14e665e3b37178 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov@codeweavers.com>
Date: Wed, 17 Mar 2010 18:21:52 +0300
Subject: [PATCH] ole32: Remove useless parameter check.

---
 dlls/ole32/stg_prop.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dlls/ole32/stg_prop.c b/dlls/ole32/stg_prop.c
index 52153a20d44..b3362bc21de 100644
--- a/dlls/ole32/stg_prop.c
+++ b/dlls/ole32/stg_prop.c
@@ -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;
-- 
GitLab