mirror of
https://github.com/postgres/postgres.git
synced 2026-04-29 18:32:53 -04:00
Fix non-C89-compliant initialization of array in parallel.c.
In newer branches this was already fixed in 59202fae04. Found using
clang's -Wc99-extensions.
This commit is contained in:
parent
f1d26d3e0a
commit
6e53bb4fdc
1 changed files with 4 additions and 1 deletions
|
|
@ -558,7 +558,10 @@ ParallelBackupStart(ArchiveHandle *AH, RestoreOptions *ropt)
|
|||
{
|
||||
/* we are the worker */
|
||||
int j;
|
||||
int pipefd[2] = {pipeMW[PIPE_READ], pipeWM[PIPE_WRITE]};
|
||||
int pipefd[2];
|
||||
|
||||
pipefd[0] = pipeMW[PIPE_READ];
|
||||
pipefd[1] = pipeWM[PIPE_WRITE];
|
||||
|
||||
/*
|
||||
* Store the fds for the reverse communication in pstate. Actually
|
||||
|
|
|
|||
Loading…
Reference in a new issue