Robert Shearman : ole32: Remove the fixme printed if CoGetClassObject fails in CoCreateInstance.

Alexandre Julliard julliard at wine.codeweavers.com
Sun May 7 03:36:33 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 6814b33aa33af42aca8c4629d1b4818d7b0e2ca2
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=6814b33aa33af42aca8c4629d1b4818d7b0e2ca2

Author: Robert Shearman <rob at codeweavers.com>
Date:   Mon May  1 10:39:31 2006 +0100

ole32: Remove the fixme printed if CoGetClassObject fails in CoCreateInstance.

Remove the fixme printed if CoGetClassObject fails in
CoCreateInstance, because we already print an error in all cases and
the error more accurately pin-points the source of the problem.

---

 dlls/ole32/compobj.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index a82ed4a..35b120f 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -1878,11 +1878,8 @@ HRESULT WINAPI CoCreateInstance(
 			  &IID_IClassFactory,
 			  (LPVOID)&lpclf);
 
-  if (FAILED(hres)) {
-    FIXME("no classfactory created for CLSID %s, hres is 0x%08lx\n",
-	  debugstr_guid(rclsid),hres);
+  if (FAILED(hres))
     return hres;
-  }
 
   /*
    * Create the object and don't forget to release the factory




More information about the wine-cvs mailing list