pgsql: Fix some compiler warnings on older compilers

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Fix some compiler warnings on older compilers
Дата
Msg-id E1iRZL8-00012R-Lt@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix some compiler warnings on older compilers

Some older compilers appear to not understand the recently introduced
PG_FINALLY code structure that well in some circumstances and complain
about possibly uninitialized variables.  So to fix, initialize the
variables explicitly in the cases complained about.

Discussion: https://www.postgresql.org/message-id/flat/95a822c3-728b-af0e-d7e5-71890507ae0c%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a63c84e59acf9f5e2b54aad4974a80e5075af646

Modified Files
--------------
src/backend/utils/adt/xml.c   | 2 +-
src/pl/plperl/plperl.c        | 2 +-
src/pl/plpython/plpy_exec.c   | 2 +-
src/pl/plpython/plpy_typeio.c | 2 +-
src/pl/tcl/pltcl.c            | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Catch invalid typlens in a couple of places
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix ginEntryInsert's counting of GIN leaf tuples.