mirror of https://github.com/postgres/postgres
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, likepull/256/head56b1e88c80. Oversights ine1405aa5e3and44eba8f06e. Reported-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/1341064.1764895052@sss.pgh.pa.us
parent
83f2f8413e
commit
7bc88c3d6f
Loading…
Reference in new issue