Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 358ff99

Browse files
committed
Fix compiler warnings about unused variables, caused by my previous commit.
Reported by Peter Eisentraut.
1 parent 022cd22 commit 358ff99

File tree

1 file changed

+0
-3
lines changed
  • src/backend/access/transam

1 file changed

+0
-3
lines changed

src/backend/access/transam/xlog.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2780,9 +2780,6 @@ XLogFileRead(XLogSegNo segno, int emode, TimeLineID tli,
27802780
*/
27812781
if (source == XLOG_FROM_ARCHIVE)
27822782
{
2783-
/* use volatile pointer to prevent code rearrangement */
2784-
volatile XLogCtlData *xlogctl = XLogCtl;
2785-
XLogRecPtr endptr;
27862783
char xlogfpath[MAXPGPATH];
27872784
bool reload = false;
27882785
struct stat statbuf;

0 commit comments

Comments
 (0)