postgres.git / summary / log / commit / refs

commit    3da73d6839dc47f1f47ca57974bf28e5abd9b572
Author:   Alvaro Herrera <alvherre@alvh.no-ip.org>
Date:     Fri Jun 14 15:33:40 2019 +0000

    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 a7757607ebe..fa86efed2e8 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -4038,7 +4038,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 */ @@ -4064,7 +4064,6 @@ l3: if (first_time) { first_time = false; - skip_tuple_lock = false; if (infomask & HEAP_XMAX_IS_MULTI) { [parent: b9a0724cf7a3]