commit | 61d76365d7f8b4533a58937d2dde48baadfb76b7 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Oct 07 10:47:30 2020 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Oct 07 10:47:30 2020 +0200 |
tree | 0b1a8ec0d3ec8016d75c9e8f0a302408e6ab2033 | |
parent | 891d75363929026f9c59ff9d484391c795ec63de [diff] |
json parser FORMAT redundant semicolon
diff --git a/src/parser_json.c b/src/parser_json.c index 38e7d97..9d0b801 100644 --- a/src/parser_json.c +++ b/src/parser_json.c
@@ -1393,7 +1393,7 @@ for (i = 0; in->current[i] != '\0' && is_jsonws(in->current[i]); i++) { if (in->current[i] == 0x0a) { /* new line */ line++; - }; + } } LY_CHECK_ERR_RET(ret = lyjson_ctx_new(ctx, in, &lydctx->jsonctx), free(lydctx), ret);