mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 03:35:34 +02:00
(partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
Fix compiler warning: btr/btr0btr.c:2063:9: error: variable 'level' set but not used [-Werror=unused-but-set-variable]
This commit is contained in:
parent
cf481a46d7
commit
806e6d0387
1 changed files with 0 additions and 2 deletions
|
|
@ -2060,7 +2060,6 @@ btr_compress(
|
|||
ulint n_recs;
|
||||
ulint max_ins_size;
|
||||
ulint max_ins_size_reorg;
|
||||
ulint level;
|
||||
ulint comp;
|
||||
|
||||
page = btr_cur_get_page(cursor);
|
||||
|
|
@ -2072,7 +2071,6 @@ btr_compress(
|
|||
MTR_MEMO_X_LOCK));
|
||||
ut_ad(mtr_memo_contains(mtr, buf_block_align(page),
|
||||
MTR_MEMO_PAGE_X_FIX));
|
||||
level = btr_page_get_level(page, mtr);
|
||||
space = dict_index_get_space(index);
|
||||
|
||||
left_page_no = btr_page_get_prev(page, mtr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue