mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-11-24 08:52:38 +02:00
[PBCKP-98] initialize result variable in get_next_record_lsn
This commit is contained in:
parent
122f88ba56
commit
5699b13756
@ -691,7 +691,8 @@ get_next_record_lsn(const char *archivedir, XLogSegNo segno,
|
||||
{
|
||||
XLogReaderState *xlogreader;
|
||||
XLogReaderData reader_data;
|
||||
XLogRecPtr startpoint, found, res;
|
||||
XLogRecPtr startpoint, found;
|
||||
XLogRecPtr res = InvalidXLogRecPtr;
|
||||
char wal_segment[MAXFNAMELEN];
|
||||
int attempts = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user