1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Remove compiler warnings

- Remove unused variables
- Mark variables unused
- Fix wrong types
- Add no-strict-aliasing to BUILD scripts
This commit is contained in:
Michael Widenius
2018-04-11 02:20:22 +03:00
parent dbbe70e1cf
commit ddc5764303
15 changed files with 25 additions and 24 deletions

View File

@ -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;