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
ca75c4a8
Commit
ca75c4a8
authored
Jan 20, 2012
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Jan 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Make some switch fallthroughs explicit (Coverity).
parent
f37b94e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
ndr_marshall.c
dlls/rpcrt4/ndr_marshall.c
+10
-5
No files found.
dlls/rpcrt4/ndr_marshall.c
View file @
ca75c4a8
...
...
@@ -1179,7 +1179,8 @@ static unsigned char * EmbeddedPointerMarshall(PMIDL_STUB_MESSAGE pStubMsg,
while
(
pFormat
[
0
]
!=
RPC_FC_END
)
{
switch
(
pFormat
[
0
])
{
default:
FIXME
(
"unknown repeat type %d
\n
"
,
pFormat
[
0
]);
FIXME
(
"unknown repeat type %d; assuming no repeat
\n
"
,
pFormat
[
0
]);
/* fallthrough */
case
RPC_FC_NO_REPEAT
:
rep
=
1
;
stride
=
0
;
...
...
@@ -1259,7 +1260,8 @@ static unsigned char * EmbeddedPointerUnmarshall(PMIDL_STUB_MESSAGE pStubMsg,
TRACE
(
"pFormat[0] = 0x%x
\n
"
,
pFormat
[
0
]);
switch
(
pFormat
[
0
])
{
default:
FIXME
(
"unknown repeat type %d
\n
"
,
pFormat
[
0
]);
FIXME
(
"unknown repeat type %d; assuming no repeat
\n
"
,
pFormat
[
0
]);
/* fallthrough */
case
RPC_FC_NO_REPEAT
:
rep
=
1
;
stride
=
0
;
...
...
@@ -1333,7 +1335,8 @@ static void EmbeddedPointerBufferSize(PMIDL_STUB_MESSAGE pStubMsg,
while
(
pFormat
[
0
]
!=
RPC_FC_END
)
{
switch
(
pFormat
[
0
])
{
default:
FIXME
(
"unknown repeat type %d
\n
"
,
pFormat
[
0
]);
FIXME
(
"unknown repeat type %d; assuming no repeat
\n
"
,
pFormat
[
0
]);
/* fallthrough */
case
RPC_FC_NO_REPEAT
:
rep
=
1
;
stride
=
0
;
...
...
@@ -1405,7 +1408,8 @@ static ULONG EmbeddedPointerMemorySize(PMIDL_STUB_MESSAGE pStubMsg,
while
(
pFormat
[
0
]
!=
RPC_FC_END
)
{
switch
(
pFormat
[
0
])
{
default:
FIXME
(
"unknown repeat type %d
\n
"
,
pFormat
[
0
]);
FIXME
(
"unknown repeat type %d; assuming no repeat
\n
"
,
pFormat
[
0
]);
/* fallthrough */
case
RPC_FC_NO_REPEAT
:
rep
=
1
;
stride
=
0
;
...
...
@@ -1463,7 +1467,8 @@ static void EmbeddedPointerFree(PMIDL_STUB_MESSAGE pStubMsg,
while
(
pFormat
[
0
]
!=
RPC_FC_END
)
{
switch
(
pFormat
[
0
])
{
default:
FIXME
(
"unknown repeat type %d
\n
"
,
pFormat
[
0
]);
FIXME
(
"unknown repeat type %d; assuming no repeat
\n
"
,
pFormat
[
0
]);
/* fallthrough */
case
RPC_FC_NO_REPEAT
:
rep
=
1
;
stride
=
0
;
...
...
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