From 1f8f144fe3a98928a026af9c2a45e57a962cc90d Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Fri, 14 Jun 2019 11:33:40 -0400 Subject: [PATCH] Silence compiler warning Introduced in de87a084c0a5. --- src/backend/access/heap/heapam.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index e37df8c023..d0e39b1f8d 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -4756,7 +4756,7 @@ l3: uint16 infomask; uint16 infomask2; bool require_sleep; - bool skip_tuple_lock; + bool skip_tuple_lock = false; ItemPointerData t_ctid; /* must copy state data before unlocking buffer */ @@ -4782,7 +4782,6 @@ l3: if (first_time) { first_time = false; - skip_tuple_lock = false; if (infomask & HEAP_XMAX_IS_MULTI) {