git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 52e98d4) | patch
Suppress -Wunused-result warning about write().
Wed, 6 Dec 2023 23:16:57 +0000 (17:16 -0600)
Wed, 6 Dec 2023 23:16:57 +0000 (17:16 -0600)
commit c2a465b2c94fb44211c350f73b5a11978d3b4536
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
src/bin/pg_test_fsync/pg_test_fsync.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /