summaryrefslogtreecommitdiff
path: root/sql/rpl_gtid.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2015-11-23 19:56:03 +0200
committerMonty <monty@mariadb.org>2015-11-23 19:56:03 +0200
commit72dc30f21701cc93f46efaa0018413bb71af5211 (patch)
tree87bd493dbe7ed8a4cc03afdd412510184e02cba5 /sql/rpl_gtid.cc
parent2553f143fdeb9068eb02a8fda58750c24071f5ef (diff)
downloadmariadb-git-72dc30f21701cc93f46efaa0018413bb71af5211.tar.gz
Fixed compiler warnings
Diffstat (limited to 'sql/rpl_gtid.cc')
-rw-r--r--sql/rpl_gtid.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/rpl_gtid.cc b/sql/rpl_gtid.cc
index 709cb284df5..77645fd3c7a 100644
--- a/sql/rpl_gtid.cc
+++ b/sql/rpl_gtid.cc
@@ -122,7 +122,7 @@ rpl_slave_state::check_duplicate_gtid(rpl_gtid *gtid, rpl_group_info *rgi)
int res;
bool did_enter_cond= false;
PSI_stage_info old_stage;
- THD *thd;
+ THD *UNINIT_VAR(thd);
Relay_log_info *rli= rgi->rli;
mysql_mutex_lock(&LOCK_slave_state);