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
649c7aeb
Commit
649c7aeb
authored
Apr 24, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Remove unused variables.
parent
5da40195
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+1
-14
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
649c7aeb
...
...
@@ -2996,7 +2996,6 @@ ULONG WINAPI NdrComplexStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
{
unsigned
size
=
*
(
const
WORD
*
)(
pFormat
+
2
);
PFORMAT_STRING
conf_array
=
NULL
;
PFORMAT_STRING
pointer_desc
=
NULL
;
TRACE
(
"(%p,%p)
\n
"
,
pStubMsg
,
pFormat
);
...
...
@@ -3004,9 +3003,7 @@ ULONG WINAPI NdrComplexStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
pFormat
+=
4
;
if
(
*
(
const
WORD
*
)
pFormat
)
conf_array
=
pFormat
+
*
(
const
WORD
*
)
pFormat
;
pFormat
+=
2
;
if
(
*
(
const
WORD
*
)
pFormat
)
pointer_desc
=
pFormat
+
*
(
const
WORD
*
)
pFormat
;
pFormat
+=
2
;
pFormat
+=
4
;
ComplexStructMemorySize
(
pStubMsg
,
pFormat
);
...
...
@@ -4124,7 +4121,6 @@ void WINAPI NdrConformantStructFree(PMIDL_STUB_MESSAGE pStubMsg,
{
const
NDR_CSTRUCT_FORMAT
*
pCStructFormat
=
(
const
NDR_CSTRUCT_FORMAT
*
)
pFormat
;
PFORMAT_STRING
pCArrayFormat
;
ULONG
esize
;
TRACE
(
"(%p, %p, %p)
\n
"
,
pStubMsg
,
pMemory
,
pFormat
);
...
...
@@ -4144,7 +4140,6 @@ void WINAPI NdrConformantStructFree(PMIDL_STUB_MESSAGE pStubMsg,
RpcRaiseException
(
RPC_S_INTERNAL_ERROR
);
return
;
}
esize
=
*
(
const
WORD
*
)(
pCArrayFormat
+
2
);
ComputeConformance
(
pStubMsg
,
pMemory
+
pCStructFormat
->
memory_size
,
pCArrayFormat
+
4
,
0
);
...
...
@@ -4490,7 +4485,6 @@ void WINAPI NdrConformantVaryingStructFree(PMIDL_STUB_MESSAGE pStubMsg,
{
const
NDR_CVSTRUCT_FORMAT
*
pCVStructFormat
=
(
const
NDR_CVSTRUCT_FORMAT
*
)
pFormat
;
PFORMAT_STRING
pCVArrayFormat
;
ULONG
esize
;
TRACE
(
"(%p, %p, %p)
\n
"
,
pStubMsg
,
pMemory
,
pFormat
);
...
...
@@ -4507,8 +4501,6 @@ void WINAPI NdrConformantVaryingStructFree(PMIDL_STUB_MESSAGE pStubMsg,
switch
(
*
pCVArrayFormat
)
{
case
RPC_FC_CVARRAY
:
esize
=
*
(
const
WORD
*
)(
pCVArrayFormat
+
2
);
pCVArrayFormat
=
ComputeConformance
(
pStubMsg
,
pMemory
+
pCVStructFormat
->
memory_size
,
pCVArrayFormat
+
4
,
0
);
pCVArrayFormat
=
ComputeVariance
(
pStubMsg
,
pMemory
+
pCVStructFormat
->
memory_size
,
...
...
@@ -4517,7 +4509,6 @@ void WINAPI NdrConformantVaryingStructFree(PMIDL_STUB_MESSAGE pStubMsg,
case
RPC_FC_C_CSTRING
:
TRACE
(
"string=%s
\n
"
,
debugstr_a
((
char
*
)
pMemory
+
pCVStructFormat
->
memory_size
));
pStubMsg
->
ActualCount
=
strlen
((
char
*
)
pMemory
+
pCVStructFormat
->
memory_size
)
+
1
;
esize
=
sizeof
(
char
);
if
(
pCVArrayFormat
[
1
]
==
RPC_FC_STRING_SIZED
)
pCVArrayFormat
=
ComputeConformance
(
pStubMsg
,
pMemory
+
pCVStructFormat
->
memory_size
,
pCVArrayFormat
+
2
,
0
);
...
...
@@ -4527,7 +4518,6 @@ void WINAPI NdrConformantVaryingStructFree(PMIDL_STUB_MESSAGE pStubMsg,
case
RPC_FC_C_WSTRING
:
TRACE
(
"string=%s
\n
"
,
debugstr_w
((
LPWSTR
)
pMemory
+
pCVStructFormat
->
memory_size
));
pStubMsg
->
ActualCount
=
strlenW
((
LPWSTR
)
pMemory
+
pCVStructFormat
->
memory_size
)
+
1
;
esize
=
sizeof
(
WCHAR
);
if
(
pCVArrayFormat
[
1
]
==
RPC_FC_STRING_SIZED
)
pCVArrayFormat
=
ComputeConformance
(
pStubMsg
,
pMemory
+
pCVStructFormat
->
memory_size
,
pCVArrayFormat
+
2
,
0
);
...
...
@@ -5012,7 +5002,6 @@ void WINAPI NdrVaryingArrayFree(PMIDL_STUB_MESSAGE pStubMsg,
unsigned
char
*
pMemory
,
PFORMAT_STRING
pFormat
)
{
unsigned
char
alignment
;
DWORD
elements
;
TRACE
(
"(%p, %p, %p)
\n
"
,
pStubMsg
,
pMemory
,
pFormat
);
...
...
@@ -5025,8 +5014,6 @@ void WINAPI NdrVaryingArrayFree(PMIDL_STUB_MESSAGE pStubMsg,
return
;
}
alignment
=
pFormat
[
1
]
+
1
;
if
(
pFormat
[
0
]
==
RPC_FC_SMVARRAY
)
{
pFormat
+=
2
;
...
...
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