Skip to content

Commit a58c183

Browse files
committed
[PGPRO-6635] Compatibility fix for older compilers
1 parent 03ad0d0 commit a58c183

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pg_probackup.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,8 @@ main(int argc, char *argv[])
433433

434434
if (backup_subcmd == SET_CONFIG_CMD)
435435
{
436-
for (int i = 0; i < argc; i++)
436+
int i;
437+
for (i = 0; i < argc; i++)
437438
{
438439
if (strncmp("--log-format-console", argv[i], strlen("--log-format-console")) == 0)
439440
{

0 commit comments

Comments
 (0)