1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +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

@@ -1520,7 +1520,7 @@ scan_one_gtid_slave_pos_table(THD *thd, HASH *hash, DYNAMIC_ARRAY *array,
LEX_CSTRING *tablename, void **out_hton)
{
TABLE_LIST tlist;
TABLE *table;
TABLE *UNINIT_VAR(table);
bool table_opened= false;
bool table_scanned= false;
struct gtid_pos_element tmp_entry, *entry;