Fix compilation warning in xlog.c
authorMichael Paquier <michael@paquier.xyz>
Tue, 6 Oct 2020 06:29:34 +0000 (15:29 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 6 Oct 2020 06:29:34 +0000 (15:29 +0900)
Oversight in 9d0bd95.

Reported-by: Andres Freund
Discussion: https://postgr.es/m/20201006023802.qqfi6m5bw5y77zql@alap3.anarazel.de

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),