mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:30:57 +00:00
hlink: Remove useless initializers.
This commit is contained in:
parent
c5a73badad
commit
3e3027761c
|
@ -116,7 +116,7 @@ static HRESULT WINAPI IHlinkBC_GetObject(IHlinkBrowseContext* face,
|
|||
static HRESULT WINAPI IHlinkBC_Revoke(IHlinkBrowseContext* iface,
|
||||
DWORD dwRegister)
|
||||
{
|
||||
HRESULT r = S_OK;
|
||||
HRESULT r;
|
||||
IRunningObjectTable *ROT;
|
||||
HlinkBCImpl *This = impl_from_IHlinkBrowseContext(iface);
|
||||
|
||||
|
|
|
@ -235,7 +235,7 @@ static ULONG WINAPI ExtServ_Release(IExtensionServices *iface)
|
|||
|
||||
static HRESULT ExtServ_ImplSetAdditionalHeaders(ExtensionService* This, LPCWSTR pwzAdditionalHeaders)
|
||||
{
|
||||
int len = 0;
|
||||
int len;
|
||||
|
||||
heap_free(This->headers);
|
||||
This->headers = NULL;
|
||||
|
|
|
@ -75,7 +75,7 @@ HRESULT WINAPI HlinkCreateFromMoniker( IMoniker *pimkTrgt, LPCWSTR pwzLocation,
|
|||
IUnknown* piunkOuter, REFIID riid, void** ppvObj)
|
||||
{
|
||||
IHlink *hl = NULL;
|
||||
HRESULT r = S_OK;
|
||||
HRESULT r;
|
||||
|
||||
TRACE("%p %s %s %p %i %p %s %p\n", pimkTrgt, debugstr_w(pwzLocation),
|
||||
debugstr_w(pwzFriendlyName), pihlsite, dwSiteData, piunkOuter,
|
||||
|
@ -107,7 +107,7 @@ HRESULT WINAPI HlinkCreateFromString( LPCWSTR pwzTarget, LPCWSTR pwzLocation,
|
|||
IUnknown* piunkOuter, REFIID riid, void** ppvObj)
|
||||
{
|
||||
IHlink *hl = NULL;
|
||||
HRESULT r = S_OK;
|
||||
HRESULT r;
|
||||
WCHAR *hash, *tgt;
|
||||
const WCHAR *loc;
|
||||
|
||||
|
@ -176,15 +176,8 @@ HRESULT WINAPI HlinkCreateFromString( LPCWSTR pwzTarget, LPCWSTR pwzLocation,
|
|||
*/
|
||||
HRESULT WINAPI HlinkCreateBrowseContext( IUnknown* piunkOuter, REFIID riid, void** ppvObj)
|
||||
{
|
||||
HRESULT r = S_OK;
|
||||
|
||||
TRACE("%p %s %p\n", piunkOuter, debugstr_guid(riid), ppvObj);
|
||||
|
||||
r = CoCreateInstance(&CLSID_StdHlinkBrowseContext, piunkOuter, CLSCTX_INPROC_SERVER, riid, ppvObj);
|
||||
|
||||
TRACE("returning %i\n",r);
|
||||
|
||||
return r;
|
||||
return CoCreateInstance(&CLSID_StdHlinkBrowseContext, piunkOuter, CLSCTX_INPROC_SERVER, riid, ppvObj);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
@ -213,7 +206,7 @@ HRESULT WINAPI HlinkOnNavigate( IHlinkFrame *phlFrame,
|
|||
IHlinkBrowseContext* phlbc, DWORD grfHLNF, IMoniker *pmkTarget,
|
||||
LPCWSTR pwzLocation, LPCWSTR pwzFriendlyName, ULONG* puHLID)
|
||||
{
|
||||
HRESULT r = S_OK;
|
||||
HRESULT r;
|
||||
|
||||
TRACE("%p %p %i %p %s %s %p\n",phlFrame, phlbc, grfHLNF, pmkTarget,
|
||||
debugstr_w(pwzLocation), debugstr_w(pwzFriendlyName), puHLID);
|
||||
|
|
Loading…
Reference in a new issue