Skip to content

Commit

Permalink
Fix compilation error with SDL check flag in Visual Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
manavrion authored and acozzette committed May 10, 2019
1 parent cdf873f commit 982d5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google/protobuf/generated_message_table_driven_lite.h
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 982d5d2

Please sign in to comment.