summaryrefslogtreecommitdiff
path: root/storage/innobase
diff options
context:
space:
mode:
authorVasil Dimov <vasil.dimov@oracle.com>2010-09-14 15:19:04 +0300
committerVasil Dimov <vasil.dimov@oracle.com>2010-09-14 15:19:04 +0300
commit94ce8492b6eed4cc3468910eb3d1731b413e6ad0 (patch)
treec37b3197d66dbd1488ac2134ecd5d7281cea8efa /storage/innobase
parent00686b4e11227b2a2559f4406a2986e79023030a (diff)
downloadmariadb-git-94ce8492b6eed4cc3468910eb3d1731b413e6ad0.tar.gz
(partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
Fix compiler warning: trx/trx0purge.c: In function 'trx_purge_rec_release': trx/trx0purge.c:1007:18: error: variable 'arr' set but not used [-Werror=unused-but-set-variable]
Diffstat (limited to 'storage/innobase')
-rw-r--r--storage/innobase/trx/trx0purge.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/storage/innobase/trx/trx0purge.c b/storage/innobase/trx/trx0purge.c
index 3e77efccde7..9e09efc82b2 100644
--- a/storage/innobase/trx/trx0purge.c
+++ b/storage/innobase/trx/trx0purge.c
@@ -1004,12 +1004,8 @@ trx_purge_rec_release(
/*==================*/
trx_undo_inf_t* cell) /* in: storage cell */
{
- trx_undo_arr_t* arr;
-
mutex_enter(&(purge_sys->mutex));
- arr = purge_sys->arr;
-
trx_purge_arr_remove_info(cell);
mutex_exit(&(purge_sys->mutex));