projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
022cd22
)
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:07:35 +0000
(22:07 -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 c1c3709fb4410d546fe52b432610115ad6b257e3..911ea8a286537c48a9812b6dbdb8ac3e07c68fcb 100644
(file)
--- a/
src/backend/access/transam/xlog.c
+++ b/
src/backend/access/transam/xlog.c
@@
-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;