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);