From 928ef7f2c02f18d9945dd750884dffbdebef1b98 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 27 Mar 2019 12:52:33 -0700 Subject: Removed reflection and other extraneous things from the core library. (#158) * Removed reflection and other extraneous things from the core library. * Added missing files and ran buildifier. * New CMakeLists.txt. * Made table its own cc_library() for internal usage. --- upb/json/parser.rl | 2 -- 1 file changed, 2 deletions(-) (limited to 'upb/json/parser.rl') diff --git a/upb/json/parser.rl b/upb/json/parser.rl index e7c456a..a48a47d 100644 --- a/upb/json/parser.rl +++ b/upb/json/parser.rl @@ -1531,7 +1531,6 @@ static bool end_duration_base(upb_json_parser *p, const char *ptr) { static int parse_timestamp_number(upb_json_parser *p) { size_t len; const char *buf; - char *end; int val; /* atoi() and friends unfortunately do not support specifying the length of @@ -2007,7 +2006,6 @@ static void end_any_member(upb_json_parser *p, const char *ptr) { static bool start_subobject(upb_json_parser *p) { if (p->top->is_unknown_field) { - upb_jsonparser_frame *inner; if (!check_stack(p)) return false; p->top = start_jsonparser_frame(p); -- cgit v1.2.3