From: Michael Paquier Date: Tue, 6 Oct 2020 06:29:34 +0000 (+0900) Subject: Fix compilation warning in xlog.c X-Git-Tag: REL_14_BETA1~1545 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=0a3c864c32751fd29d021929cf70af421fd27370;p=postgresql.git Fix compilation warning in xlog.c Oversight in 9d0bd95. Reported-by: Andres Freund Discussion: https://postgr.es/m/20201006023802.qqfi6m5bw5y77zql@alap3.anarazel.de --- diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 8f11b1b9de1..52a67b11701 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),