Module: wine Branch: master Commit: 0498534b6b1193f60ba63af00a14e665e3b37178 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0498534b6b1193f60ba63af00a...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Wed Mar 17 18:21:52 2010 +0300
ole32: Remove useless parameter check.
---
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;