mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
(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]
This commit is contained in:
parent
dff449bc97
commit
2869f5376b
1 changed files with 0 additions and 4 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue