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
da5e11b6
Commit
da5e11b6
authored
Apr 10, 2019
by
Keith Smiley
Committed by
Adam Cozzette
Apr 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused constants
When compiling protobuf these produce warnings
parent
7db639f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
cpp_helpers.cc
src/google/protobuf/compiler/cpp/cpp_helpers.cc
+0
-1
java_helpers.cc
src/google/protobuf/compiler/java/java_helpers.cc
+0
-2
No files found.
src/google/protobuf/compiler/cpp/cpp_helpers.cc
View file @
da5e11b6
...
...
@@ -66,7 +66,6 @@ namespace {
static
const
char
kAnyMessageName
[]
=
"Any"
;
static
const
char
kAnyProtoFile
[]
=
"google/protobuf/any.proto"
;
static
const
char
kGoogleProtobufPrefix
[]
=
"google/protobuf/"
;
std
::
string
DotsToColons
(
const
std
::
string
&
name
)
{
return
StringReplace
(
name
,
"."
,
"::"
,
true
);
...
...
src/google/protobuf/compiler/java/java_helpers.cc
View file @
da5e11b6
...
...
@@ -91,8 +91,6 @@ const std::unordered_set<string>* kReservedNames =
"transient"
,
"try"
,
"void"
,
"volatile"
,
"while"
,
});
const
int
kDefaultLookUpStartFieldNumber
=
40
;
bool
IsForbidden
(
const
std
::
string
&
field_name
)
{
for
(
int
i
=
0
;
i
<
GOOGLE_ARRAYSIZE
(
kForbiddenWordList
);
++
i
)
{
if
(
field_name
==
kForbiddenWordList
[
i
])
{
...
...
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