From: Alex Henrie alexhenrie24@gmail.com
A warning should only be printed if something went wrong, not every time the function is run. --- dlls/atl/atl30.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/atl/atl30.c b/dlls/atl/atl30.c index d7d130c2a03..62a74953190 100644 --- a/dlls/atl/atl30.c +++ b/dlls/atl/atl30.c @@ -247,7 +247,7 @@ HRESULT WINAPI AtlModuleGetClassObject(_ATL_MODULEW *pm, REFCLSID rclsid, (void **)&obj->pCF); if (obj->pCF) hres = IUnknown_QueryInterface(obj->pCF, riid, ppv); - break; + return hres; } } }