mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
(partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
Fix compiler warnings: btr/btr0pcur.c: In function 'btr_pcur_move_backward_from_page': btr/btr0pcur.c:432:8: error: variable 'space' set but not used [-Werror=unused-but-set-variable]
This commit is contained in:
parent
a01a739c97
commit
1859761222
1 changed files with 0 additions and 2 deletions
|
@ -429,7 +429,6 @@ btr_pcur_move_backward_from_page(
|
|||
mtr_t* mtr) /* in: mtr */
|
||||
{
|
||||
ulint prev_page_no;
|
||||
ulint space;
|
||||
page_t* page;
|
||||
page_t* prev_page;
|
||||
ulint latch_mode;
|
||||
|
@ -465,7 +464,6 @@ btr_pcur_move_backward_from_page(
|
|||
page = btr_pcur_get_page(cursor);
|
||||
|
||||
prev_page_no = btr_page_get_prev(page, mtr);
|
||||
space = buf_frame_get_space_id(page);
|
||||
|
||||
if (btr_pcur_is_before_first_on_page(cursor, mtr)
|
||||
&& (prev_page_no != FIL_NULL)) {
|
||||
|
|
Loading…
Reference in a new issue