Skip to content

Commit 7446397

Browse files
committed
Silence compiler warning
Introduced in de87a08.
1 parent 8de574a commit 7446397

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/access/heap/heapam.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4610,7 +4610,7 @@ heap_lock_tuple(Relation relation, HeapTuple tuple,
46104610
uint16 infomask;
46114611
uint16 infomask2;
46124612
bool require_sleep;
4613-
bool skip_tuple_lock;
4613+
bool skip_tuple_lock = false;
46144614
ItemPointerData t_ctid;
46154615

46164616
/* must copy state data before unlocking buffer */
@@ -4636,7 +4636,6 @@ heap_lock_tuple(Relation relation, HeapTuple tuple,
46364636
if (first_time)
46374637
{
46384638
first_time = false;
4639-
skip_tuple_lock = false;
46404639

46414640
if (infomask & HEAP_XMAX_IS_MULTI)
46424641
{

0 commit comments

Comments
 (0)