From ddc5764303dd72f68d2c69cc574a6f42e8bcf86d Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Wed, 11 Apr 2018 02:20:22 +0300 Subject: Remove compiler warnings - Remove unused variables - Mark variables unused - Fix wrong types - Add no-strict-aliasing to BUILD scripts --- sql/rpl_rli.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/rpl_rli.cc') 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; -- cgit v1.2.1