postgres.git / summary / log / commit / refs
commit 93016983d1e8f3aeb508f1be8daf5ca5de5c5b61
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Thu Feb 17 00:53:20 2011 +0000
Fix blatantly uninitialized variable in recent commit.
Doesn't anybody around here pay attention to compiler warnings?
src/backend/replication/walsender.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
[parent: a2095f7fb5a5]