diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-09-04 22:07:35 -0700 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-09-04 22:08:30 -0700 |
commit | 3d975d0fc5d7fd28839e3cf1871a479bfc0bcd28 (patch) | |
tree | 7a7d5a7f85002d4dcd215ad14f0c4a81c88ce6b5 | |
parent | c4f18483b69830c725a9d45332144eb1926c5c26 (diff) | |
download | postgresql-3d975d0fc5d7fd28839e3cf1871a479bfc0bcd28.tar.gz postgresql-3d975d0fc5d7fd28839e3cf1871a479bfc0bcd28.zip |
Fix compiler warnings about unused variables, caused by my previous commit.
Reported by Peter Eisentraut.
-rw-r--r-- | src/backend/access/transam/xlog.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 063355c46a2..52bc469f296 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -2837,9 +2837,6 @@ XLogFileRead(uint32 log, uint32 seg, 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; |