Remove meaningless assignments in nbtree code

Reported-by: Ranier Vilela

Discussion: https://postgr.es/m/MN2PR18MB2927BB876D12A70FDBE8F35AE3450@MN2PR18MB2927.namprd18.prod.outlook.com

Backpatch-through: master
This commit is contained in:
Bruce Momjian 2019-12-19 10:33:48 -05:00
parent 2b93e3d96b
commit 05684c8255
2 changed files with 0 additions and 3 deletions

View File

@ -1600,7 +1600,6 @@ _bt_mark_page_halfdead(Relation rel, Buffer leafbuf, BTStack stack)
* fail in the field, though.
*/
page = BufferGetPage(topparent);
opaque = (BTPageOpaque) PageGetSpecialPointer(page);
#ifdef USE_ASSERT_CHECKING
itemid = PageGetItemId(page, topoff);

View File

@ -590,8 +590,6 @@ btree_xlog_mark_page_halfdead(uint8 info, XLogReaderState *record)
BlockNumber rightsib;
page = (Page) BufferGetPage(buffer);
pageop = (BTPageOpaque) PageGetSpecialPointer(page);
poffset = xlrec->poffset;
nextoffset = OffsetNumberNext(poffset);