; * src/json.c (json_parse_array): Remove unused variable.

This commit is contained in:
Mattias Engdegård 2024-04-03 09:52:55 +02:00
parent 5e5e74b17a
commit 375ba7c8ea

View file

@ -1415,7 +1415,6 @@ json_parse_array (struct json_parser *parser)
if (parser->available_depth < 0)
json_signal_error (parser, Qjson_object_too_deep);
size_t number_of_elements = 0;
Lisp_Object *cdr = &result;
/* This loop collects the array elements in the object workspace
*/
@ -1442,8 +1441,6 @@ json_parse_array (struct json_parser *parser)
}
c = json_skip_whitespace (parser);
number_of_elements++;
if (c == ']')
{
parser->available_depth++;