aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-02-16 19:53:20 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2011-02-16 19:53:20 -0500
commit93016983d1e8f3aeb508f1be8daf5ca5de5c5b61 (patch)
tree7fdf0ad5e7f9e4768a103c9d6ce028aed487d747 /src
parenta2095f7fb5a57ea1794f25d029756d9a140fd429 (diff)
downloadpostgresql-93016983d1e8f3aeb508f1be8daf5ca5de5c5b61.tar.gz
postgresql-93016983d1e8f3aeb508f1be8daf5ca5de5c5b61.zip
Fix blatantly uninitialized variable in recent commit.
Doesn't anybody around here pay attention to compiler warnings?
Diffstat (limited to 'src')
-rw-r--r--src/backend/replication/walsender.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c
index 0fdf722f852..a6a7a1425be 100644
--- a/src/backend/replication/walsender.c
+++ b/src/backend/replication/walsender.c
@@ -565,7 +565,7 @@ ProcessStandbyReplyMessage(void)
{
TransactionId nextXid;
uint32 nextEpoch;
- bool epochOK;
+ bool epochOK = false;
GetNextXidAndEpoch(&nextXid, &nextEpoch);