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
3312d631
Commit
3312d631
authored
Feb 04, 2011
by
Joris Huizer
Committed by
Alexandre Julliard
Feb 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Reduce scope of variable (Clang).
parent
5102d4df
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+2
-4
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
3312d631
...
...
@@ -919,7 +919,6 @@ static void PointerUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
}
if
(
pointer_needs_unmarshaling
)
{
unsigned
char
*
base_ptr_val
=
*
pPointer
;
unsigned
char
**
current_ptr
=
pPointer
;
if
(
pStubMsg
->
IsClient
)
{
TRACE
(
"client
\n
"
);
...
...
@@ -932,7 +931,7 @@ static void PointerUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
if
(
!
fMustAlloc
)
{
if
(
pSrcPointer
)
{
TRACE
(
"setting *pPointer to %p
\n
"
,
pSrcPointer
);
*
pPointer
=
base_ptr_val
=
pSrcPointer
;
*
pPointer
=
pSrcPointer
;
}
else
fMustAlloc
=
TRUE
;
}
...
...
@@ -945,7 +944,6 @@ static void PointerUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
if
(
attr
&
RPC_FC_P_DEREF
)
{
fMustAlloc
=
TRUE
;
}
else
{
base_ptr_val
=
NULL
;
*
current_ptr
=
NULL
;
}
}
...
...
@@ -955,7 +953,7 @@ static void PointerUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
if
(
attr
&
RPC_FC_P_DEREF
)
{
if
(
fMustAlloc
)
{
base_ptr_val
=
NdrAllocate
(
pStubMsg
,
sizeof
(
void
*
));
unsigned
char
*
base_ptr_val
=
NdrAllocate
(
pStubMsg
,
sizeof
(
void
*
));
*
pPointer
=
base_ptr_val
;
current_ptr
=
(
unsigned
char
**
)
base_ptr_val
;
}
else
...
...
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