Commit cd740c0d authored by Simon Riggs's avatar Simon Riggs

Fix uninitialized variables in twophase.c

parent bae9b801
......@@ -2024,8 +2024,8 @@ ProcessTwoPhaseBuffer(TransactionId xid,
TransactionId *maxsubxid)
{
TransactionId origNextXid = ShmemVariableCache->nextXid;
TransactionId res;
TransactionId maxsub;
TransactionId res = InvalidTransactionId;
TransactionId maxsub = InvalidTransactionId;
TransactionId *subxids;
char *buf;
TwoPhaseFileHeader *hdr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment