From f16bb5ebf7aaf1af69871a21d8e3abc85b287018 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 11 Apr 2013 17:35:30 +0100 Subject: [PATCH] Make initializer braces non-empty in json_parse for ISO C compliance --- json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json.c b/json.c index 82b6a03b..42881f97 100644 --- a/json.c +++ b/json.c @@ -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); }