Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
95ea3527
Commit
95ea3527
authored
Sep 01, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Remove a couple of unused local variables.
parent
0abc4753
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
14 deletions
+4
-14
rpc_binding.c
dlls/rpcrt4/rpc_binding.c
+1
-4
rpc_server.c
dlls/rpcrt4/rpc_server.c
+3
-10
No files found.
dlls/rpcrt4/rpc_binding.c
View file @
95ea3527
...
@@ -798,13 +798,10 @@ RPC_STATUS WINAPI RpcBindingFree( RPC_BINDING_HANDLE* Binding )
...
@@ -798,13 +798,10 @@ RPC_STATUS WINAPI RpcBindingFree( RPC_BINDING_HANDLE* Binding )
*/
*/
RPC_STATUS
WINAPI
RpcBindingVectorFree
(
RPC_BINDING_VECTOR
**
BindingVector
)
RPC_STATUS
WINAPI
RpcBindingVectorFree
(
RPC_BINDING_VECTOR
**
BindingVector
)
{
{
RPC_STATUS
status
;
ULONG
c
;
ULONG
c
;
TRACE
(
"(%p)
\n
"
,
BindingVector
);
TRACE
(
"(%p)
\n
"
,
BindingVector
);
for
(
c
=
0
;
c
<
(
*
BindingVector
)
->
Count
;
c
++
)
{
for
(
c
=
0
;
c
<
(
*
BindingVector
)
->
Count
;
c
++
)
RpcBindingFree
(
&
(
*
BindingVector
)
->
BindingH
[
c
]);
status
=
RpcBindingFree
(
&
(
*
BindingVector
)
->
BindingH
[
c
]);
}
HeapFree
(
GetProcessHeap
(),
0
,
*
BindingVector
);
HeapFree
(
GetProcessHeap
(),
0
,
*
BindingVector
);
*
BindingVector
=
NULL
;
*
BindingVector
=
NULL
;
return
RPC_S_OK
;
return
RPC_S_OK
;
...
...
dlls/rpcrt4/rpc_server.c
View file @
95ea3527
...
@@ -503,29 +503,22 @@ static void RPCRT4_process_packet(RpcConnection* conn, RpcPktHdr* hdr,
...
@@ -503,29 +503,22 @@ static void RPCRT4_process_packet(RpcConnection* conn, RpcPktHdr* hdr,
RPC_MESSAGE
*
msg
,
unsigned
char
*
auth_data
,
RPC_MESSAGE
*
msg
,
unsigned
char
*
auth_data
,
ULONG
auth_length
)
ULONG
auth_length
)
{
{
RPC_STATUS
status
;
msg
->
Handle
=
(
RPC_BINDING_HANDLE
)
conn
->
server_binding
;
msg
->
Handle
=
(
RPC_BINDING_HANDLE
)
conn
->
server_binding
;
switch
(
hdr
->
common
.
ptype
)
{
switch
(
hdr
->
common
.
ptype
)
{
case
PKT_BIND
:
case
PKT_BIND
:
TRACE
(
"got bind packet
\n
"
);
TRACE
(
"got bind packet
\n
"
);
process_bind_packet
(
conn
,
&
hdr
->
bind
,
msg
,
auth_data
,
auth_length
);
status
=
process_bind_packet
(
conn
,
&
hdr
->
bind
,
msg
,
auth_data
,
auth_length
);
break
;
break
;
case
PKT_REQUEST
:
case
PKT_REQUEST
:
TRACE
(
"got request packet
\n
"
);
TRACE
(
"got request packet
\n
"
);
process_request_packet
(
conn
,
&
hdr
->
request
,
msg
);
status
=
process_request_packet
(
conn
,
&
hdr
->
request
,
msg
);
break
;
break
;
case
PKT_AUTH3
:
case
PKT_AUTH3
:
TRACE
(
"got auth3 packet
\n
"
);
TRACE
(
"got auth3 packet
\n
"
);
process_auth3_packet
(
conn
,
&
hdr
->
common
,
msg
,
auth_data
,
auth_length
);
status
=
process_auth3_packet
(
conn
,
&
hdr
->
common
,
msg
,
auth_data
,
auth_length
);
break
;
break
;
default:
default:
FIXME
(
"unhandled packet type %u
\n
"
,
hdr
->
common
.
ptype
);
FIXME
(
"unhandled packet type %u
\n
"
,
hdr
->
common
.
ptype
);
...
...
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