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:
@@ -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
|
||||
|
Reference in New Issue
Block a user