; * src/json.c (json_parse_array): Remove unused variable.
This commit is contained in:
parent
5e5e74b17a
commit
375ba7c8ea
1 changed files with 0 additions and 3 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Reference in a new issue