diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2017-09-14 11:16:40 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2017-09-14 11:16:40 +0400 |
commit | c94fb7b7c18ce058060d377980aa269c24537207 (patch) | |
tree | 152ee6da234e37b519c24d947e326a7d053e1b62 /strings | |
parent | 3f17f5113279f489204fa8707f6f8f66bac79955 (diff) | |
download | mariadb-git-c94fb7b7c18ce058060d377980aa269c24537207.tar.gz |
Compiler warning avoided.
Diffstat (limited to 'strings')
-rw-r--r-- | strings/json_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/json_lib.c b/strings/json_lib.c index 25e5e81e6f9..1743fce83d0 100644 --- a/strings/json_lib.c +++ b/strings/json_lib.c @@ -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++; |