projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4f1848
)
Fix compiler warnings about unused variables, caused by my previous commit.
author
Heikki Linnakangas
Wed, 5 Sep 2012 05:07:35 +0000
(22:07 -0700)
committer
Heikki Linnakangas
Wed, 5 Sep 2012 05:08:30 +0000
(22:08 -0700)
Reported by Peter Eisentraut.
src/backend/access/transam/xlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index 063355c46a2141ca966687bec933a2597cba1256..52bc469f296dd0af593dcd391222e5231221f9e3 100644
(file)
--- 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;