diff --git a/src/google/protobuf/text_format.cc b/src/google/protobuf/text_format.cc index abf0bfdf51..db6b912a01 100644 --- a/src/google/protobuf/text_format.cc +++ b/src/google/protobuf/text_format.cc @@ -2020,9 +2020,6 @@ class FieldValuePrinterWrapper : public TextFormat::FastFieldValuePrinter { } // namespace -const char* const TextFormat::Printer::kDoNotParse = - "DO NOT PARSE: fields may be stripped and missing.\n"; - TextFormat::Printer::Printer() : initial_indent_level_(0), single_line_mode_(false), diff --git a/src/google/protobuf/text_format.h b/src/google/protobuf/text_format.h index 4ae9215965..122c8a4472 100644 --- a/src/google/protobuf/text_format.h +++ b/src/google/protobuf/text_format.h @@ -450,8 +450,6 @@ class PROTOBUF_EXPORT TextFormat { // strings (see text_format.cc for implementation). class FastFieldValuePrinterUtf8Escaping; - static const char* const kDoNotParse; - // Internal Print method, used for writing to the OutputStream via // the TextGenerator class. void Print(const Message& message, BaseTextGenerator* generator) const;