| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Silence compiler warnings from some older compilers. |
| Date: | 2022-06-01 21:22:03 |
| Message-ID: | E1nwVn1-002FNC-FC@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Silence compiler warnings from some older compilers.
Since a117cebd6, some older gcc versions issue "variable may be used
uninitialized in this function" complaints for brin_summarize_range.
Silence that using the same coding pattern as in bt_index_check_internal;
arguably, a117cebd6 had too narrow a view of which compilers might give
trouble.
Nathan Bossart and Tom Lane. Back-patch as the previous commit was.
Discussion: https://postgr.es/m/20220601163537.GA2331988@nathanxps13
Branch
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/37290f7f5a9acf9c88c5d65490b7ec24776ba332
Modified Files
--------------
contrib/amcheck/verify_nbtree.c | 2 +-
src/backend/access/brin/brin.c | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2022-06-02 00:23:25 | pgsql: Add missing test names in TAP tests of pg_upgrade |
| Previous Message | Tom Lane | 2022-06-01 20:16:12 | pgsql: Fix pl/perl test case so it will still work under Perl 5.36. |