Browse Source
Merge pull request #839 from ffontaine/master
json_pointer.c: initialize idx
tags/json-c-0.18-20240915
Eric Hawicz
GitHub
1 year ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
json_pointer.c
|
|
@@ -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; |
|
|
|
|
|
|
|