Sun, 20 Oct 2024 10:49:38 +0200
simplify cx_json_value_nothing initialization
src/json.c | file | annotate | diff | comparison | revisions |
--- a/src/json.c Sat Oct 19 17:25:11 2024 +0200 +++ b/src/json.c Sun Oct 20 10:49:38 2024 +0200 @@ -39,7 +39,7 @@ #define PARSER_STATES_ALLOC 32 -static CxJsonValue cx_json_value_nothing = {CX_JSON_NOTHING, {0}}; +static CxJsonValue cx_json_value_nothing = {CX_JSON_NOTHING}; static int token_append(CxJsonToken *token, const char *buf, size_t len) {