Suppress -Wunused-result warning about write().
Nathan Bossart <nathan@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_test_fsync/pg_test_fsync.c | modified | +4 −1 |
Discussion
- Clean up some signal usage mainly related to Windows 16 messages · 2023-07-06 → 2024-01-11