Commit da5e11b6 authored by Keith Smiley's avatar Keith Smiley Committed by Adam Cozzette

Remove unused constants

When compiling protobuf these produce warnings
parent 7db639f9
......@@ -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);
......
......@@ -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]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment