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
@ -558,7 +558,10 @@ ParallelBackupStart(ArchiveHandle *AH, RestoreOptions *ropt)
|
|||||||
{
|
{
|
||||||
/* we are the worker */
|
/* we are the worker */
|
||||||
int j;
|
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
|
* Store the fds for the reverse communication in pstate. Actually
|
||||||
|
Loading…
x
Reference in New Issue
Block a user