summaryrefslogtreecommitdiff
path: root/sql/item_func.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2017-07-01 14:22:49 +0300
committerMonty <monty@mariadb.org>2017-07-01 14:26:42 +0300
commit92f1837a27f4b78a3e6c74ca33c3052211069af5 (patch)
tree132345f502d16bda8865a49dba52e1c450078ec0 /sql/item_func.cc
parentcc8912f2230e4c351e0e5f62e2f11972f127a472 (diff)
downloadmariadb-git-92f1837a27f4b78a3e6c74ca33c3052211069af5.tar.gz
Fixed compilation warnings (while testing 32 bit builds)
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r--sql/item_func.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index 1b83f86d19c..4a9fa3342e6 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -3918,7 +3918,7 @@ longlong Item_master_gtid_wait::val_int()
{
DBUG_ASSERT(fixed == 1);
longlong result= 0;
- String *gtid_pos = args[0]->val_str(&value);
+ String *gtid_pos __attribute__((unused)) = args[0]->val_str(&value);
if (args[0]->null_value)
{