1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Code cleanup part #1

This commit is contained in:
Sergei Petrunia
2021-08-27 22:28:59 +03:00
parent f76e310ace
commit 72c0ba43b2
3 changed files with 83 additions and 82 deletions

View File

@@ -1869,7 +1869,7 @@ int json_path_compare(const json_path_t *a, const json_path_t *b,
enum json_types json_smart_read_value(json_engine_t *je,
const char **value, int *value_len)
const char **value, int *value_len)
{
if (json_read_value(je))
goto err_return;
@@ -1952,6 +1952,7 @@ err_return:
return JSV_BAD_JSON;
}
/** Simple json lookup for a value by the key.
Expects JSON object.
@@ -2027,8 +2028,6 @@ enum json_types json_get_object_nkey(const char *js __attribute__((unused)),
return JSV_NOTHING;
}
/** Check if json is valid (well-formed)
@retval 0 - success, json is well-formed