From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Suppress -Wunused-result warning about write().
Date: Wed, 06 Dec 2023 23:18:42 +0000
Message-ID: <E1rB1AA-008wBa-7t@gemulon.postgresql.org> (raw)
Suppress -Wunused-result warning about write().
pg_test_fsync's signal_cleanup() intentionally ignores the write()
result since there's not much we could do about it, but certain
compilers make that harder than it ought to be.
This was missed in commit 52e98d4502.
Reviewed-by: Tristan Partin, Peter Eisentraut
Discussion: https://postgr.es/m/20231206161839.GA2828158%40nathanxps13
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c2a465b2c94fb44211c350f73b5a11978d3b4536
Modified Files
--------------
src/bin/pg_test_fsync/pg_test_fsync.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Suppress -Wunused-result warning about write().
In-Reply-To: <E1rB1AA-008wBa-7t@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox