1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-09 14:45:47 +02:00

fix compiler warnings

This commit is contained in:
Anastasia 2017-06-16 15:13:31 +03:00
parent da960204bb
commit 7fe9cb953c
2 changed files with 2 additions and 2 deletions

View File

@ -916,7 +916,7 @@ pg_stop_backup(pgBackup *backup)
PGresult *res;
uint32 xlogid;
uint32 xrecoff;
XLogRecPtr restore_lsn;
XLogRecPtr restore_lsn = InvalidXLogRecPtr ;
bool sent = false;
int pg_stop_backup_timeout = 0;

View File

@ -130,7 +130,7 @@ do_retention_purge(void)
size_t i;
time_t days_threshold = time(NULL) - (retention_window * 60 * 60 * 24);
XLogRecPtr oldest_lsn = InvalidXLogRecPtr;
TimeLineID oldest_tli;
TimeLineID oldest_tli = 0;
bool keep_next_backup = true; /* Do not delete first full backup */
bool backup_deleted = false; /* At least one backup was deleted */