Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3e302776
Commit
3e302776
authored
Mar 23, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 26, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlink: Remove useless initializers.
parent
c5a73bad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
13 deletions
+6
-13
browse_ctx.c
dlls/hlink/browse_ctx.c
+1
-1
extserv.c
dlls/hlink/extserv.c
+1
-1
hlink_main.c
dlls/hlink/hlink_main.c
+4
-11
No files found.
dlls/hlink/browse_ctx.c
View file @
3e302776
...
@@ -116,7 +116,7 @@ static HRESULT WINAPI IHlinkBC_GetObject(IHlinkBrowseContext* face,
...
@@ -116,7 +116,7 @@ static HRESULT WINAPI IHlinkBC_GetObject(IHlinkBrowseContext* face,
static
HRESULT
WINAPI
IHlinkBC_Revoke
(
IHlinkBrowseContext
*
iface
,
static
HRESULT
WINAPI
IHlinkBC_Revoke
(
IHlinkBrowseContext
*
iface
,
DWORD
dwRegister
)
DWORD
dwRegister
)
{
{
HRESULT
r
=
S_OK
;
HRESULT
r
;
IRunningObjectTable
*
ROT
;
IRunningObjectTable
*
ROT
;
HlinkBCImpl
*
This
=
impl_from_IHlinkBrowseContext
(
iface
);
HlinkBCImpl
*
This
=
impl_from_IHlinkBrowseContext
(
iface
);
...
...
dlls/hlink/extserv.c
View file @
3e302776
...
@@ -235,7 +235,7 @@ static ULONG WINAPI ExtServ_Release(IExtensionServices *iface)
...
@@ -235,7 +235,7 @@ static ULONG WINAPI ExtServ_Release(IExtensionServices *iface)
static
HRESULT
ExtServ_ImplSetAdditionalHeaders
(
ExtensionService
*
This
,
LPCWSTR
pwzAdditionalHeaders
)
static
HRESULT
ExtServ_ImplSetAdditionalHeaders
(
ExtensionService
*
This
,
LPCWSTR
pwzAdditionalHeaders
)
{
{
int
len
=
0
;
int
len
;
heap_free
(
This
->
headers
);
heap_free
(
This
->
headers
);
This
->
headers
=
NULL
;
This
->
headers
=
NULL
;
...
...
dlls/hlink/hlink_main.c
View file @
3e302776
...
@@ -75,7 +75,7 @@ HRESULT WINAPI HlinkCreateFromMoniker( IMoniker *pimkTrgt, LPCWSTR pwzLocation,
...
@@ -75,7 +75,7 @@ HRESULT WINAPI HlinkCreateFromMoniker( IMoniker *pimkTrgt, LPCWSTR pwzLocation,
IUnknown
*
piunkOuter
,
REFIID
riid
,
void
**
ppvObj
)
IUnknown
*
piunkOuter
,
REFIID
riid
,
void
**
ppvObj
)
{
{
IHlink
*
hl
=
NULL
;
IHlink
*
hl
=
NULL
;
HRESULT
r
=
S_OK
;
HRESULT
r
;
TRACE
(
"%p %s %s %p %i %p %s %p
\n
"
,
pimkTrgt
,
debugstr_w
(
pwzLocation
),
TRACE
(
"%p %s %s %p %i %p %s %p
\n
"
,
pimkTrgt
,
debugstr_w
(
pwzLocation
),
debugstr_w
(
pwzFriendlyName
),
pihlsite
,
dwSiteData
,
piunkOuter
,
debugstr_w
(
pwzFriendlyName
),
pihlsite
,
dwSiteData
,
piunkOuter
,
...
@@ -107,7 +107,7 @@ HRESULT WINAPI HlinkCreateFromString( LPCWSTR pwzTarget, LPCWSTR pwzLocation,
...
@@ -107,7 +107,7 @@ HRESULT WINAPI HlinkCreateFromString( LPCWSTR pwzTarget, LPCWSTR pwzLocation,
IUnknown
*
piunkOuter
,
REFIID
riid
,
void
**
ppvObj
)
IUnknown
*
piunkOuter
,
REFIID
riid
,
void
**
ppvObj
)
{
{
IHlink
*
hl
=
NULL
;
IHlink
*
hl
=
NULL
;
HRESULT
r
=
S_OK
;
HRESULT
r
;
WCHAR
*
hash
,
*
tgt
;
WCHAR
*
hash
,
*
tgt
;
const
WCHAR
*
loc
;
const
WCHAR
*
loc
;
...
@@ -176,15 +176,8 @@ HRESULT WINAPI HlinkCreateFromString( LPCWSTR pwzTarget, LPCWSTR pwzLocation,
...
@@ -176,15 +176,8 @@ HRESULT WINAPI HlinkCreateFromString( LPCWSTR pwzTarget, LPCWSTR pwzLocation,
*/
*/
HRESULT
WINAPI
HlinkCreateBrowseContext
(
IUnknown
*
piunkOuter
,
REFIID
riid
,
void
**
ppvObj
)
HRESULT
WINAPI
HlinkCreateBrowseContext
(
IUnknown
*
piunkOuter
,
REFIID
riid
,
void
**
ppvObj
)
{
{
HRESULT
r
=
S_OK
;
TRACE
(
"%p %s %p
\n
"
,
piunkOuter
,
debugstr_guid
(
riid
),
ppvObj
);
TRACE
(
"%p %s %p
\n
"
,
piunkOuter
,
debugstr_guid
(
riid
),
ppvObj
);
return
CoCreateInstance
(
&
CLSID_StdHlinkBrowseContext
,
piunkOuter
,
CLSCTX_INPROC_SERVER
,
riid
,
ppvObj
);
r
=
CoCreateInstance
(
&
CLSID_StdHlinkBrowseContext
,
piunkOuter
,
CLSCTX_INPROC_SERVER
,
riid
,
ppvObj
);
TRACE
(
"returning %i
\n
"
,
r
);
return
r
;
}
}
/***********************************************************************
/***********************************************************************
...
@@ -213,7 +206,7 @@ HRESULT WINAPI HlinkOnNavigate( IHlinkFrame *phlFrame,
...
@@ -213,7 +206,7 @@ HRESULT WINAPI HlinkOnNavigate( IHlinkFrame *phlFrame,
IHlinkBrowseContext
*
phlbc
,
DWORD
grfHLNF
,
IMoniker
*
pmkTarget
,
IHlinkBrowseContext
*
phlbc
,
DWORD
grfHLNF
,
IMoniker
*
pmkTarget
,
LPCWSTR
pwzLocation
,
LPCWSTR
pwzFriendlyName
,
ULONG
*
puHLID
)
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
,
TRACE
(
"%p %p %i %p %s %s %p
\n
"
,
phlFrame
,
phlbc
,
grfHLNF
,
pmkTarget
,
debugstr_w
(
pwzLocation
),
debugstr_w
(
pwzFriendlyName
),
puHLID
);
debugstr_w
(
pwzLocation
),
debugstr_w
(
pwzFriendlyName
),
puHLID
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment