summaryrefslogtreecommitdiff
path: root/sql/item_jsonfunc.cc
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2018-04-11 02:20:22 +0300
committerMichael Widenius <monty@mariadb.org>2018-04-16 20:16:43 +0300
commitddc5764303dd72f68d2c69cc574a6f42e8bcf86d (patch)
treece22119346b027d359a909f7e272330dabd4c19b /sql/item_jsonfunc.cc
parentdbbe70e1cfe9d7635d9dba774a2c9dc61163b542 (diff)
downloadmariadb-git-ddc5764303dd72f68d2c69cc574a6f42e8bcf86d.tar.gz
Remove compiler warnings
- Remove unused variables - Mark variables unused - Fix wrong types - Add no-strict-aliasing to BUILD scripts
Diffstat (limited to 'sql/item_jsonfunc.cc')
-rw-r--r--sql/item_jsonfunc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_jsonfunc.cc b/sql/item_jsonfunc.cc
index 4b2de7cf28b..58e50f5d3a1 100644
--- a/sql/item_jsonfunc.cc
+++ b/sql/item_jsonfunc.cc
@@ -2615,7 +2615,7 @@ String *Item_func_json_remove::val_str(String *str)
{
uint array_counters[JSON_DEPTH_LIMIT];
json_path_with_flags *c_path= paths + n_path;
- const char *rem_start, *rem_end;
+ const char *rem_start= 0, *rem_end;
const json_path_step_t *lp;
uint n_item= 0;