From 81fbb4ffa72e7e86e500cf4f7bd0c73910263fbf Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Thu, 6 Sep 2018 05:09:28 +0000 Subject: Initialize value --- upb/json/parser.rl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'upb/json/parser.rl') diff --git a/upb/json/parser.rl b/upb/json/parser.rl index fc87ddb..0ac49a5 100644 --- a/upb/json/parser.rl +++ b/upb/json/parser.rl @@ -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: -- cgit v1.2.3