Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3da73d6

Browse files
committed
Silence compiler warning
Introduced in de87a08.
1 parent b9a0724 commit 3da73d6

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
@@ -4038,7 +4038,7 @@ heap_lock_tuple(Relation relation, HeapTuple tuple,
40384038
uint16 infomask;
40394039
uint16 infomask2;
40404040
bool require_sleep;
4041-
bool skip_tuple_lock;
4041+
bool skip_tuple_lock = false;
40424042
ItemPointerData t_ctid;
40434043

40444044
/* must copy state data before unlocking buffer */
@@ -4064,7 +4064,6 @@ heap_lock_tuple(Relation relation, HeapTuple tuple,
40644064
if (first_time)
40654065
{
40664066
first_time = false;
4067-
skip_tuple_lock = false;
40684067

40694068
if (infomask & HEAP_XMAX_IS_MULTI)
40704069
{

0 commit comments

Comments
 (0)