postgres.git / summary / log / commit / refs
commit 3d975d0fc5d7fd28839e3cf1871a479bfc0bcd28
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: Wed Sep 05 05:07:35 2012 +0000
First released in: 9.3.0, 9.2.0
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 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;
[parent: c4f18483b698]