1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-30 06:01:21 +03:00

Fix some compiler warnings that clang emits with -pedantic.

Andres Freund
This commit is contained in:
Robert Haas
2014-04-04 11:26:01 -04:00
parent b1236f4b7b
commit 59202fae04
6 changed files with 13 additions and 10 deletions

View File

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