Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Silence compiler warning
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 14 Jun 2019 15:33:40 +0000 (11:33 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 14 Jun 2019 15:33:40 +0000 (11:33 -0400)
Introduced in de87a084c0a5.

src/backend/access/heap/heapam.c

index f8587fe22cb304f81c99af49d8dcf5f57f40c503..6627a36aaf2addfc16b715d9d0d98ed08862e37b 100644 (file)
@@ -4636,7 +4636,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 */
@@ -4662,7 +4662,6 @@ l3:
        if (first_time)
        {
            first_time = false;
-           skip_tuple_lock = false;
 
            if (infomask & HEAP_XMAX_IS_MULTI)
            {