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 warnings: trx/trx0roll.c: In function 'trx_undo_arr_remove_info': trx/trx0roll.c:717:9: error: variable 'n' set but not used [-Werror=unused-but-set-variable] trx/trx0roll.c:716:9: error: variable 'n_used' set but not used [-Werror=unused-but-set-variable]
This commit is contained in:
parent
2869f5376b
commit
eb362b90c3
1 changed files with 0 additions and 5 deletions
|
@ -713,13 +713,8 @@ trx_undo_arr_remove_info(
|
|||
dulint undo_no)/* in: undo number */
|
||||
{
|
||||
trx_undo_inf_t* cell;
|
||||
ulint n_used;
|
||||
ulint n;
|
||||
ulint i;
|
||||
|
||||
n_used = arr->n_used;
|
||||
n = 0;
|
||||
|
||||
for (i = 0;; i++) {
|
||||
cell = trx_undo_arr_get_nth_info(arr, i);
|
||||
|
||||
|
|
Loading…
Reference in a new issue