Skip to content

Commit

Permalink
Fix for compiler warning issue#8145
Browse files Browse the repository at this point in the history
Corrected the == check condition.

Signed-off-by: Abhishek Jain <abhishek.jain3@huawei.com>
  • Loading branch information
akjain2052 authored and Abhishek Jain committed Dec 24, 2020
1 parent 635156e commit 52a9564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google/protobuf/compiler/cpp/cpp_message.cc
Expand Up @@ -1070,7 +1070,7 @@ void MessageGenerator::GenerateClassDefinition(io::Printer* printer) {
" }\n",
descriptor_->field(1)->full_name());
} else {
GOOGLE_CHECK(utf8_check = VERIFY);
GOOGLE_CHECK(utf8_check == VERIFY);
format(
" static bool ValidateValue(std::string* s) {\n"
"#ifndef NDEBUG\n"
Expand Down

0 comments on commit 52a9564

Please sign in to comment.