summaryrefslogtreecommitdiff
path: root/sql/rpl_rli.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/rpl_rli.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/rpl_rli.cc')
-rw-r--r--sql/rpl_rli.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/rpl_rli.cc b/sql/rpl_rli.cc
index 04109ddadb4..c79a6440e84 100644
--- a/sql/rpl_rli.cc
+++ b/sql/rpl_rli.cc
@@ -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;