Fix compilation warning in xlog.c
authorMichael Paquier <[email protected]>
Tue, 6 Oct 2020 06:29:34 +0000 (15:29 +0900)
committerMichael Paquier <[email protected]>
Tue, 6 Oct 2020 06:29:34 +0000 (15:29 +0900)
Oversight in 9d0bd95.

Reported-by: Andres Freund
Discussion: https://postgr.es/m/20201006023802[email protected]

src/backend/access/transam/xlog.c

index 8f11b1b9de18cf1fc691965b51a205f12462199f..52a67b117015695502bda158544feee26628dfc2 100644 (file)
@@ -10250,8 +10250,6 @@ xlog_redo(XLogReaderState *record)
 static void
 xlog_outrec(StringInfo buf, XLogReaderState *record)
 {
-   int         block_id;
-
    appendStringInfo(buf, "prev %X/%X; xid %u",
                     (uint32) (XLogRecGetPrev(record) >> 32),
                     (uint32) XLogRecGetPrev(record),