Nikolay Sivov : ole32: Remove ERR() output that's not really helpful.

Alexandre Julliard julliard at winehq.org
Tue Feb 11 13:32:40 CST 2014


Module: wine
Branch: master
Commit: e593c3068c4a9ea4c094a38204cb355a37fd015c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e593c3068c4a9ea4c094a38204cb355a37fd015c

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Feb 11 08:35:08 2014 +0400

ole32: Remove ERR() output that's not really helpful.

---

 dlls/ole32/compobj.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index e615599..4429627 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -2378,10 +2378,7 @@ HRESULT WINAPI ProgIDFromCLSID(REFCLSID clsid, LPOLESTR *ppszProgID)
     LONG progidlen = 0;
 
     if (!ppszProgID)
-    {
-        ERR("ppszProgId isn't optional\n");
         return E_INVALIDARG;
-    }
 
     *ppszProgID = NULL;
 
@@ -2449,10 +2446,7 @@ HRESULT WINAPI CLSIDFromProgID(LPCOLESTR progid, LPCLSID clsid)
     ACTCTX_SECTION_KEYED_DATA data;
 
     if (!progid || !clsid)
-    {
-        ERR("neither progid (%p) nor clsid (%p) are optional\n", progid, clsid);
         return E_INVALIDARG;
-    }
 
     data.cbSize = sizeof(data);
     if (FindActCtxSectionStringW(0, NULL, ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
@@ -2534,10 +2528,7 @@ HRESULT WINAPI CoGetPSClsid(REFIID riid, CLSID *pclsid)
     }
 
     if (!pclsid)
-    {
-        ERR("pclsid isn't optional\n");
         return E_INVALIDARG;
-    }
 
     EnterCriticalSection(&apt->cs);
 




More information about the wine-cvs mailing list