Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
912d8195
Commit
912d8195
authored
Oct 15, 2019
by
Christian Maurer
Committed by
Adam Cozzette
Oct 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c++ remove unused parameters
parent
6f0f382d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
extension_set.h
src/google/protobuf/extension_set.h
+1
-1
message_lite.h
src/google/protobuf/message_lite.h
+2
-2
parse_context.h
src/google/protobuf/parse_context.h
+1
-1
No files found.
src/google/protobuf/extension_set.h
View file @
912d8195
...
...
@@ -760,7 +760,7 @@ class PROTOBUF_EXPORT ExtensionSet {
bool
FindExtension
(
int
wire_type
,
uint32
field
,
const
MessageLite
*
containing_type
,
const
internal
::
ParseContext
*
ctx
,
const
internal
::
ParseContext
*
/*ctx*/
,
ExtensionInfo
*
extension
,
bool
*
was_packed_on_wire
)
{
GeneratedExtensionFinder
finder
(
containing_type
);
return
FindExtensionInfoFromFieldNumber
(
wire_type
,
field
,
&
finder
,
...
...
src/google/protobuf/message_lite.h
View file @
912d8195
...
...
@@ -434,8 +434,8 @@ class PROTOBUF_EXPORT MessageLite {
// method.)
virtual
int
GetCachedSize
()
const
=
0
;
virtual
const
char
*
_InternalParse
(
const
char
*
ptr
,
internal
::
ParseContext
*
ctx
)
{
virtual
const
char
*
_InternalParse
(
const
char
*
/*ptr*/
,
internal
::
ParseContext
*
/*ctx*/
)
{
return
nullptr
;
}
...
...
src/google/protobuf/parse_context.h
View file @
912d8195
...
...
@@ -491,7 +491,7 @@ PROTOBUF_EXPORT
std
::
pair
<
const
char
*
,
uint32
>
ReadTagFallback
(
const
char
*
p
,
uint32
res
);
// Same as ParseVarint but only accept 5 bytes at most.
inline
const
char
*
ReadTag
(
const
char
*
p
,
uint32
*
out
,
uint32
max_tag
=
0
)
{
inline
const
char
*
ReadTag
(
const
char
*
p
,
uint32
*
out
,
uint32
/*max_tag*/
=
0
)
{
uint32
res
=
static_cast
<
uint8
>
(
p
[
0
]);
if
(
res
<
128
)
{
*
out
=
res
;
...
...
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