Fix compilation error with SDL check flag in Visual Studio

pull/6126/head^2
Ruslan Manaev 6 years ago committed by Adam Cozzette
parent cdf873f29b
commit 982d5d2ab1
  1. 2
      src/google/protobuf/generated_message_table_driven_lite.h

@ -237,7 +237,7 @@ static inline bool HandleString(io::CodedInputStream* input, MessageLite* msg,
switch (ctype) {
case StringType_INLINED: {
InlinedStringField* s;
InlinedStringField* s = nullptr;
switch (cardinality) {
case Cardinality_SINGULAR:
// TODO(ckennelly): Is this optimal?

Loading…
Cancel
Save