From 0a3c864c32751fd29d021929cf70af421fd27370 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Tue, 6 Oct 2020 15:29:34 +0900 Subject: [PATCH] Fix compilation warning in xlog.c Oversight in 9d0bd95. Reported-by: Andres Freund Discussion: https://postgr.es/m/20201006023802.qqfi6m5bw5y77zql@alap3.anarazel.de --- src/backend/access/transam/xlog.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 8f11b1b9de..52a67b1170 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -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),