(trx0trx.c:1801) Bug#55227 Fix compiler warnings in innodb with gcc 4.6

This commit is contained in:
Vasil Dimov 2010-09-20 19:39:35 +03:00
parent f5d1b4787a
commit 862caf5d5c

View file

@ -1798,7 +1798,6 @@ trx_prepare_off_kernel(
/*===================*/ /*===================*/
trx_t* trx) /*!< in: transaction */ trx_t* trx) /*!< in: transaction */
{ {
page_t* update_hdr_page;
trx_rseg_t* rseg; trx_rseg_t* rseg;
ib_uint64_t lsn = 0; ib_uint64_t lsn = 0;
mtr_t mtr; mtr_t mtr;
@ -1831,7 +1830,7 @@ trx_prepare_off_kernel(
} }
if (trx->update_undo) { if (trx->update_undo) {
update_hdr_page = trx_undo_set_state_at_prepare( trx_undo_set_state_at_prepare(
trx, trx->update_undo, &mtr); trx, trx->update_undo, &mtr);
} }