mirror of
https://github.com/json-c/json-c.git
synced 2026-03-20 21:49:07 +08:00
Merge pull request #839 from ffontaine/master
json_pointer.c: initialize idx
This commit is contained in:
@@ -158,7 +158,7 @@ static int json_pointer_result_get_recursive(struct json_object *obj, char *path
|
||||
struct json_pointer_get_result *res)
|
||||
{
|
||||
struct json_object *parent_obj = obj;
|
||||
size_t idx;
|
||||
size_t idx = 0;
|
||||
char *endp;
|
||||
int rc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user