mirror of
https://github.com/DaveGamble/cJSON.git
synced 2024-12-27 14:14:07 +08:00
cJSON_ParseWithOpts: Fix -Wmissing-field-initializers
This commit is contained in:
parent
a99d254e4f
commit
6c3df7eb59
2
cJSON.c
2
cJSON.c
@ -962,7 +962,7 @@ static parse_buffer *buffer_skip_whitespace(parse_buffer * const buffer)
|
||||
/* Parse an object - create a new root, and populate. */
|
||||
CJSON_PUBLIC(cJSON *) cJSON_ParseWithOpts(const char *value, const char **return_parse_end, cJSON_bool require_null_terminated)
|
||||
{
|
||||
parse_buffer buffer = { 0 };
|
||||
parse_buffer buffer = { 0, 0, 0 };
|
||||
cJSON *item = NULL;
|
||||
|
||||
/* reset error position */
|
||||
|
Loading…
x
Reference in New Issue
Block a user