1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-10-30 23:37:45 +02:00

Move variable to scope where it is used.

This commit is contained in:
David Steele
2025-06-26 08:04:33 -04:00
parent 638815b4cd
commit 277b4db46f

View File

@@ -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