Initialize value

pull/13171/head
Bo Yang 6 years ago
parent 6c910330c4
commit 81fbb4ffa7
  1. 2
      upb/json/parser.c
  2. 2
      upb/json/parser.rl

@ -1904,7 +1904,7 @@ static void start_value_object(upb_json_parser *p, int value_type) {
const char *boolmember = "bool_value";
const char *structmember = "struct_value";
const char *listmember = "list_value";
const char *membername;
const char *membername = "";
switch (value_type) {
case VALUE_NULLVALUE:

@ -1902,7 +1902,7 @@ static void start_value_object(upb_json_parser *p, int value_type) {
const char *boolmember = "bool_value";
const char *structmember = "struct_value";
const char *listmember = "list_value";
const char *membername;
const char *membername = "";
switch (value_type) {
case VALUE_NULLVALUE:

Loading…
Cancel
Save