From ae2f1cdb174e4458b2a3440a6125ad904c294d71 Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Wed, 1 Aug 2018 00:37:35 +0000 Subject: Mark unused variable --- upb/json/parser.rl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'upb/json/parser.rl') diff --git a/upb/json/parser.rl b/upb/json/parser.rl index f83af87..389a09a 100644 --- a/upb/json/parser.rl +++ b/upb/json/parser.rl @@ -1626,7 +1626,9 @@ bool end(void *closure, const void *hd) { /* Prevent compile warning on unused static constants. */ UPB_UNUSED(json_start); UPB_UNUSED(json_en_number_machine); + UPB_UNUSED(json_en_number_object_machine); UPB_UNUSED(json_en_string_machine); + UPB_UNUSED(json_en_string_object_machine); UPB_UNUSED(json_en_value_machine); UPB_UNUSED(json_en_main); return true; -- cgit v1.2.3