Skip to content

Commit a030a0c

Browse files
committed
Initialize variable to placate compiler.
Per Nathan Bossart. Discussion: http://postgr.es/m/FECEE7FC-CB74-45A9-BB24-89FEE52A9585@amazon.com
1 parent 9ce346e commit a030a0c

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9038,7 +9038,7 @@ CreateCheckPoint(int flags)
90389038
XLogRecPtr last_important_lsn;
90399039
VirtualTransactionId *vxids;
90409040
int nvxids;
9041-
int oldXLogAllowed;
9041+
int oldXLogAllowed = 0;
90429042

90439043
/*
90449044
* An end-of-recovery checkpoint is really a shutdown checkpoint, just

0 commit comments

Comments
 (0)