You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-06-20 01:17:49 +02:00
Move variable to scope where it is used.
This commit is contained in:
@@ -1302,11 +1302,11 @@ infoUpdateStanza(
|
||||
ASSERT(storage != NULL);
|
||||
ASSERT(stanzaRepo != NULL);
|
||||
|
||||
volatile int stanzaStatus = INFO_STANZA_STATUS_CODE_OK;
|
||||
|
||||
// If the stanza exists, attempt to get the info files
|
||||
if (stanzaExists)
|
||||
{
|
||||
volatile int stanzaStatus = INFO_STANZA_STATUS_CODE_OK;
|
||||
|
||||
TRY_BEGIN()
|
||||
{
|
||||
// Catch certain errors
|
||||
|
||||
Reference in New Issue
Block a user