diff options
author | Michael Widenius <monty@mariadb.org> | 2018-04-11 02:20:22 +0300 |
---|---|---|
committer | Michael Widenius <monty@mariadb.org> | 2018-04-16 20:16:43 +0300 |
commit | ddc5764303dd72f68d2c69cc574a6f42e8bcf86d (patch) | |
tree | ce22119346b027d359a909f7e272330dabd4c19b /sql/opt_split.cc | |
parent | dbbe70e1cfe9d7635d9dba774a2c9dc61163b542 (diff) | |
download | mariadb-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/opt_split.cc')
-rw-r--r-- | sql/opt_split.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_split.cc b/sql/opt_split.cc index 6467706bc0b..063ca9fd940 100644 --- a/sql/opt_split.cc +++ b/sql/opt_split.cc @@ -862,7 +862,7 @@ SplM_plan_info * JOIN_TAB::choose_best_splitting(double record_count, table_map tables_usable_for_splitting= spl_opt_info->tables_usable_for_splitting; KEYUSE_EXT *keyuse_ext= &join->ext_keyuses_for_splitting->at(0); - KEYUSE_EXT *best_key_keyuse_ext_start; + KEYUSE_EXT *UNINIT_VAR(best_key_keyuse_ext_start); TABLE *best_table= 0; double best_rec_per_key= DBL_MAX; SplM_plan_info *spl_plan= 0; |