mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 17:33:44 +01:00
Compiler warning avoided.
This commit is contained in:
parent
3f17f51132
commit
c94fb7b7c1
1 changed files with 1 additions and 1 deletions
|
@ -1447,7 +1447,7 @@ int json_find_paths_next(json_engine_t *je, json_find_paths_t *state)
|
|||
/* Path already failed. */
|
||||
continue;
|
||||
if (state->paths[p_c].steps[state->cur_depth].type &
|
||||
(je->state == JST_OBJ_START) ? JSON_PATH_KEY : JSON_PATH_ARRAY)
|
||||
((je->state == JST_OBJ_START) ? JSON_PATH_KEY : JSON_PATH_ARRAY))
|
||||
state->path_depths[p_c]++;
|
||||
}
|
||||
state->cur_depth++;
|
||||
|
|
Loading…
Add table
Reference in a new issue