Silence compiler warning
authorAlvaro Herrera <[email protected]>
Fri, 14 Jun 2019 15:33:40 +0000 (11:33 -0400)
committerAlvaro Herrera <[email protected]>
Fri, 14 Jun 2019 15:33:40 +0000 (11:33 -0400)
Introduced in de87a084c0a5.

src/backend/access/heap/heapam.c

index e37df8c023dcaa788b091839d8294fe5c0a028a6..d0e39b1f8db7d06fa1f83c3b9118cffdfe75e418 100644 (file)
@@ -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)
            {