diff options
| author | Michael Paquier <michael@paquier.xyz> | 2025-12-05 12:30:43 +0900 |
|---|---|---|
| committer | Michael Paquier <michael@paquier.xyz> | 2025-12-05 12:30:43 +0900 |
| commit | 7bc88c3d6f3af3af5330c0e209c8a3c411267d00 (patch) | |
| tree | 560a3efbea76a9ba4eb44fa22f83fe81c125bf45 /contrib/pgcrypto/pgp-encrypt.c | |
| parent | 83f2f8413e8d9687fda7d5881c82b89b8d9d4043 (diff) | |
Fix some compiler warnings
Some of the buildfarm members with some old gcc versions have been
complaining about an always-true test for a NULL pointer caused by a
combination of SOFT_ERROR_OCCURRED() and a local ErrorSaveContext
variable.
These warnings are taken care of by removing SOFT_ERROR_OCCURRED(),
switching to a direct variable check, like 56b1e88c804b.
Oversights in e1405aa5e3ac and 44eba8f06e55.
Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1341064.1764895052@sss.pgh.pa.us
Diffstat (limited to 'contrib/pgcrypto/pgp-encrypt.c')
0 files changed, 0 insertions, 0 deletions
