From: Alvaro Herrera Date: Fri, 14 Jun 2019 15:33:40 +0000 (-0400) Subject: Silence compiler warning X-Git-Tag: REL_10_9~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=744639739c7c6a53bcbf4cd6fe765d7ebd89716a;p=thirdparty%2Fpostgresql.git Silence compiler warning Introduced in de87a084c0a5. --- diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index f0d81f4a644..ff1898aa06e 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -4610,7 +4610,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 */ @@ -4636,7 +4636,6 @@ l3: if (first_time) { first_time = false; - skip_tuple_lock = false; if (infomask & HEAP_XMAX_IS_MULTI) {