pgsql: Silence compiler warnings from some older compilers.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Silence compiler warnings from some older compilers.
Дата
Msg-id E1nwVn1-002FN3-DX@gemulon.postgresql.org
обсуждение исходный текст
Список 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_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4e467261560f087e0c75452646695a4edbb09de7

Modified Files
--------------
contrib/amcheck/verify_nbtree.c | 2 +-
src/backend/access/brin/brin.c  | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix pl/perl test case so it will still work under Perl 5.36.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Add missing test names in TAP tests of pg_upgrade