diff options
author | Robert Haas <rhaas@postgresql.org> | 2014-04-04 11:26:01 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2014-04-04 11:29:50 -0400 |
commit | 59202fae0434c98beb4994c5fe4df354a6af31e6 (patch) | |
tree | 4aac1efe801fe27872a202dba130b72db0633d9b /src/bin/pg_dump/parallel.c | |
parent | b1236f4b7ba2c05542f44d07c0a9ffbec3b66295 (diff) | |
download | postgresql-59202fae0434c98beb4994c5fe4df354a6af31e6.tar.gz postgresql-59202fae0434c98beb4994c5fe4df354a6af31e6.zip |
Fix some compiler warnings that clang emits with -pedantic.
Andres Freund
Diffstat (limited to 'src/bin/pg_dump/parallel.c')
-rw-r--r-- | src/bin/pg_dump/parallel.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/pg_dump/parallel.c b/src/bin/pg_dump/parallel.c index 6f2634bb641..7d6e146dbda 100644 --- a/src/bin/pg_dump/parallel.c +++ b/src/bin/pg_dump/parallel.c @@ -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 |