-
- Downloads
Suppress -Wunused-result warnings about write() and fwrite().
This is merely an exercise in satisfying pedants, not a bug fix, because in every case we were checking for failure later with ferror(), or else there was nothing useful to be done about a failure anyway. Document the latter cases.
Showing
- src/backend/access/transam/xlog.c 4 additions, 2 deletionssrc/backend/access/transam/xlog.c
- src/backend/commands/copy.c 3 additions, 3 deletionssrc/backend/commands/copy.c
- src/backend/postmaster/pgstat.c 11 additions, 5 deletionssrc/backend/postmaster/pgstat.c
- src/backend/utils/error/elog.c 32 additions, 6 deletionssrc/backend/utils/error/elog.c
- src/bin/psql/common.c 9 additions, 3 deletionssrc/bin/psql/common.c
Loading
Please register or sign in to comment