mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Fix compiler warnings about unused variables, caused by my previous commit.
Reported by Peter Eisentraut.
This commit is contained in:
parent
022cd22f0f
commit
358ff99d70
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user