Skip to content

Commit dd95935

Browse files
committed
MDEV-22456 post-fix: Remove unused variable
1 parent ad0f85b commit dd95935

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

storage/innobase/fsp/fsp0fsp.cc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3170,10 +3170,7 @@ fseg_free_extent(
31703170
ut_ad(mach_read_from_4(seg_inode + FSEG_MAGIC_N)
31713171
== FSEG_MAGIC_N_VALUE);
31723172
ut_d(space->modify_check(*mtr));
3173-
3174-
#if defined BTR_CUR_HASH_ADAPT || defined UNIV_DEBUG
3175-
const ulint first_page_in_extent = page - (page % FSP_EXTENT_SIZE);
3176-
#endif /* BTR_CUR_HASH_ADAPT || UNIV_DEBUG */
3173+
ut_d(ulint first_page_in_extent = page - (page % FSP_EXTENT_SIZE));
31773174

31783175
if (xdes_is_full(descr, mtr)) {
31793176
flst_remove(seg_inode + FSEG_FULL,

0 commit comments

Comments
 (0)