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: btr/btr0pcur.c: In function 'btr_pcur_move_backward_from_page': btr/btr0pcur.c:455:9: error: variable 'space' set but not used [-Werror=unused-but-set-variable]
This commit is contained in:
parent
07cded6187
commit
8e3c62cc57
1 changed files with 0 additions and 2 deletions
|
@ -452,7 +452,6 @@ btr_pcur_move_backward_from_page(
|
|||
mtr_t* mtr) /*!< in: mtr */
|
||||
{
|
||||
ulint prev_page_no;
|
||||
ulint space;
|
||||
page_t* page;
|
||||
buf_block_t* prev_block;
|
||||
ulint latch_mode;
|
||||
|
@ -488,7 +487,6 @@ btr_pcur_move_backward_from_page(
|
|||
page = btr_pcur_get_page(cursor);
|
||||
|
||||
prev_page_no = btr_page_get_prev(page, mtr);
|
||||
space = buf_block_get_space(btr_pcur_get_block(cursor));
|
||||
|
||||
if (prev_page_no == FIL_NULL) {
|
||||
} else if (btr_pcur_is_before_first_on_page(cursor)) {
|
||||
|
|
Loading…
Reference in a new issue