Skip to content

Commit

Permalink
Make initializer braces non-empty in json_parse for ISO C compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
James committed Apr 11, 2013
1 parent 4c33960 commit f16bb5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json.c
Expand Up @@ -787,7 +787,7 @@ json_value * json_parse_ex (json_settings * settings,

json_value * json_parse (const json_char * json, size_t length)
{
json_settings settings = {};
json_settings settings = { 0 };
return json_parse_ex (&settings, json, length, 0);
}

Expand Down

0 comments on commit f16bb5e

Please sign in to comment.