diff options
author | Jisi Liu <jisi.liu@gmail.com> | 2017-08-09 16:34:42 -0700 |
---|---|---|
committer | Jisi Liu <jisi.liu@gmail.com> | 2017-08-09 16:34:42 -0700 |
commit | 97d50e306e576dadf2184e643b7c934da45730c8 (patch) | |
tree | 0b777ba1661aa5d48a21a93cd42fee7be0889584 /src/google/protobuf/compiler/cpp/cpp_message.cc | |
parent | 3afcded28a6aa9c44adf801ca5bff2133fcf3030 (diff) | |
download | protobuf-97d50e306e576dadf2184e643b7c934da45730c8.tar.gz protobuf-97d50e306e576dadf2184e643b7c934da45730c8.tar.bz2 protobuf-97d50e306e576dadf2184e643b7c934da45730c8.zip |
Make code free of missing-field-initializers warningsv3.4.0rc2
Diffstat (limited to 'src/google/protobuf/compiler/cpp/cpp_message.cc')
-rw-r--r-- | src/google/protobuf/compiler/cpp/cpp_message.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/cpp/cpp_message.cc b/src/google/protobuf/compiler/cpp/cpp_message.cc index 36cbf5d7..63ebb3c5 100644 --- a/src/google/protobuf/compiler/cpp/cpp_message.cc +++ b/src/google/protobuf/compiler/cpp/cpp_message.cc @@ -1628,7 +1628,7 @@ GenerateExtraDefaultFields(io::Printer* printer) { bool MessageGenerator::GenerateParseTable(io::Printer* printer, size_t offset, size_t aux_offset) { if (!table_driven_) { - printer->Print("{ NULL, NULL, 0, -1, -1, false },\n"); + printer->Print("{ NULL, NULL, 0, -1, -1, -1, -1, NULL, false },\n"); return false; } |