Skip to content

Commit 1f8f144

Browse files
committed
Silence compiler warning
Introduced in de87a08.
1 parent 995b4fe commit 1f8f144

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
@@ -4756,7 +4756,7 @@ heap_lock_tuple(Relation relation, HeapTuple tuple,
47564756
uint16 infomask;
47574757
uint16 infomask2;
47584758
bool require_sleep;
4759-
bool skip_tuple_lock;
4759+
bool skip_tuple_lock = false;
47604760
ItemPointerData t_ctid;
47614761

47624762
/* must copy state data before unlocking buffer */
@@ -4782,7 +4782,6 @@ heap_lock_tuple(Relation relation, HeapTuple tuple,
47824782
if (first_time)
47834783
{
47844784
first_time = false;
4785-
skip_tuple_lock = false;
47864785

47874786
if (infomask & HEAP_XMAX_IS_MULTI)
47884787
{

0 commit comments

Comments
 (0)