Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9301698

Browse files
committed
Fix blatantly uninitialized variable in recent commit.
Doesn't anybody around here pay attention to compiler warnings?
1 parent a2095f7 commit 9301698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/replication/walsender.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ ProcessStandbyReplyMessage(void)
565565
{
566566
TransactionId nextXid;
567567
uint32 nextEpoch;
568-
bool epochOK;
568+
bool epochOK = false;
569569

570570
GetNextXidAndEpoch(&nextXid, &nextEpoch);
571571

0 commit comments

Comments
 (0)