diff options
author | Vasil Dimov <vasil.dimov@oracle.com> | 2010-09-14 15:19:04 +0300 |
---|---|---|
committer | Vasil Dimov <vasil.dimov@oracle.com> | 2010-09-14 15:19:04 +0300 |
commit | 94ce8492b6eed4cc3468910eb3d1731b413e6ad0 (patch) | |
tree | c37b3197d66dbd1488ac2134ecd5d7281cea8efa /storage/innobase | |
parent | 00686b4e11227b2a2559f4406a2986e79023030a (diff) | |
download | mariadb-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.c | 4 |
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)); |