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

This commit is contained in:
Vasil Dimov 2010-09-20 19:30:44 +03:00
parent 70a486c7e7
commit d75e5995d1

View file

@ -315,7 +315,6 @@ trx_purge_add_update_undo_to_history(
trx_rsegf_t* rseg_header;
trx_usegf_t* seg_header;
trx_ulogf_t* undo_header;
trx_upagef_t* page_header;
ulint hist_size;
undo = trx->update_undo;
@ -331,7 +330,6 @@ trx_purge_add_update_undo_to_history(
undo_header = undo_page + undo->hdr_offset;
seg_header = undo_page + TRX_UNDO_SEG_HDR;
page_header = undo_page + TRX_UNDO_PAGE_HDR;
if (undo->state != TRX_UNDO_CACHED) {
/* The undo log segment will not be reused */