From 358ff99d70a7e75d5a95d1d83676fcdd193c845d Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Tue, 4 Sep 2012 22:07:35 -0700 Subject: [PATCH] Fix compiler warnings about unused variables, caused by my previous commit. Reported by Peter Eisentraut. --- src/backend/access/transam/xlog.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index c1c3709fb4..911ea8a286 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -2780,9 +2780,6 @@ XLogFileRead(XLogSegNo segno, int emode, TimeLineID tli, */ if (source == XLOG_FROM_ARCHIVE) { - /* use volatile pointer to prevent code rearrangement */ - volatile XLogCtlData *xlogctl = XLogCtl; - XLogRecPtr endptr; char xlogfpath[MAXPGPATH]; bool reload = false; struct stat statbuf; -- 2.40.0