]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Suppress -Wunused-result warnings about write(), again.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Jun 2016 15:29:20 +0000 (11:29 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Jun 2016 15:29:20 +0000 (11:29 -0400)
commit53c2601a59fc18bd33713162504401f7fec2e2f2
tree4864e6a26710bdf1ca6772db930d8bfc95c4f86b
parent96aac0e6db33727901006fe9ab7c7dbf0711cf87
Suppress -Wunused-result warnings about write(), again.

Adopt the same solution as in commit aa90e148ca70a235, but this time
let's put the ugliness inside the write_stderr() macro, instead of
expecting each call site to deal with it.  Back-port that decision
into psql/common.c where I got the macro from in the first place.

Per gripe from Peter Eisentraut.
src/bin/pg_dump/parallel.c
src/bin/psql/common.c