[PATCH] Remove useless parameter check
Nikolay Sivov
nsivov at codeweavers.com
Wed Mar 17 10:21:52 CDT 2010
---
dlls/ole32/stg_prop.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/stg_prop.c b/dlls/ole32/stg_prop.c
index 52153a2..b3362bc 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;
--
1.5.6.5
--=-bz3rra3TJisx1mtu4ZWm--
More information about the wine-patches
mailing list