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
01c63bdf
Commit
01c63bdf
authored
Jul 05, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 06, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Remove redundant refcount field.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
37845242
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
httprequest.c
dlls/msxml3/httprequest.c
+2
-4
No files found.
dlls/msxml3/httprequest.c
View file @
01c63bdf
...
...
@@ -114,7 +114,6 @@ typedef struct
{
httprequest
req
;
IServerXMLHTTPRequest
IServerXMLHTTPRequest_iface
;
LONG
ref
;
}
serverhttp
;
static
inline
httprequest
*
impl_from_IXMLHTTPRequest
(
IXMLHTTPRequest
*
iface
)
...
...
@@ -1737,7 +1736,7 @@ static HRESULT WINAPI ServerXMLHTTPRequest_QueryInterface(IServerXMLHTTPRequest
static
ULONG
WINAPI
ServerXMLHTTPRequest_AddRef
(
IServerXMLHTTPRequest
*
iface
)
{
serverhttp
*
This
=
impl_from_IServerXMLHTTPRequest
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
re
q
.
re
f
);
TRACE
(
"(%p)->(%u)
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -1745,7 +1744,7 @@ static ULONG WINAPI ServerXMLHTTPRequest_AddRef(IServerXMLHTTPRequest *iface)
static
ULONG
WINAPI
ServerXMLHTTPRequest_Release
(
IServerXMLHTTPRequest
*
iface
)
{
serverhttp
*
This
=
impl_from_IServerXMLHTTPRequest
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
re
q
.
re
f
);
TRACE
(
"(%p)->(%u)
\n
"
,
This
,
ref
);
...
...
@@ -2041,7 +2040,6 @@ HRESULT ServerXMLHTTP_create(void **obj)
init_httprequest
(
&
req
->
req
);
req
->
IServerXMLHTTPRequest_iface
.
lpVtbl
=
&
ServerXMLHTTPRequestVtbl
;
req
->
ref
=
1
;
*
obj
=
&
req
->
IServerXMLHTTPRequest_iface
;
...
...
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