Skip to content

Commit

Permalink
Fix GCC -Wunused-variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Dec 4, 2023
1 parent 9d07b05 commit 31ffa74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion storage/innobase/mtr/mtr0mtr.cc
Expand Up @@ -425,7 +425,8 @@ void mtr_t::commit()
break;
default:
buf_page_t *bpage= static_cast<buf_page_t*>(slot.object);
const auto s= bpage->unfix();
ut_d(const auto s=)
bpage->unfix();
if (slot.type & MTR_MEMO_MODIFY)
{
ut_ad(slot.type == MTR_MEMO_PAGE_X_MODIFY ||
Expand Down

0 comments on commit 31ffa74

Please sign in to comment.