Simplify dlls/atl/registrar.c
Gerald Pfeifer
gerald at pfeifer.com
Sun Sep 7 08:44:12 CDT 2008
This has been in my local tree for two months without problems, and
I just noticed that I simply failed to submit it.
Gerald
ChangeLog:
Remove unused parameter from Registrar_create().
Index: dlls/atl/registrar.c
===================================================================
RCS file: /home/wine/wine/dlls/atl/registrar.c,v
retrieving revision 1.29
diff -u -3 -p -r1.29 registrar.c
--- dlls/atl/registrar.c 7 May 2008 12:06:02 -0000 1.29
+++ dlls/atl/registrar.c 7 Sep 2008 13:42:54 -0000
@@ -661,7 +661,7 @@ static const IRegistrarVtbl RegistrarVtb
Registrar_ResourceUnregister,
};
-static HRESULT Registrar_create(const IUnknown *pUnkOuter, REFIID riid, void **ppvObject)
+static HRESULT Registrar_create(REFIID riid, void **ppvObject)
{
Registrar *ret;
@@ -711,7 +711,7 @@ static HRESULT WINAPI RegistrarCF_Create
REFIID riid, void **ppvObject)
{
TRACE("(%p)->(%s %p)\n", iface, debugstr_guid(riid), ppvObject);
- return Registrar_create(pUnkOuter, riid, ppvObject);
+ return Registrar_create(riid, ppvObject);
}
static HRESULT WINAPI RegistrarCF_LockServer(IClassFactory *iface, BOOL lock)
@@ -768,7 +768,7 @@ static HRESULT do_register_dll_server(IR
{'C','L','S','I','D','_','A','T','L','R','e','g','i','s','t','r','a','r',0};
if (!pRegistrar)
- Registrar_create(NULL, &IID_IRegistrar, (void**)&pRegistrar);
+ Registrar_create(&IID_IRegistrar, (void**)&pRegistrar);
IRegistrar_AddReplacement(pRegistrar, wszModule, wszDll);
More information about the wine-patches
mailing list