Fix some compiler warnings on older compilers

Peter Eisentraut <peter@eisentraut.org>

Commit: a63c84e59acf9f5e2b54aad4974a80e5075af646
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2019-11-04T10:07:32Z
Releases: 13.0
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

Files

PathChange+/−
src/backend/utils/adt/xml.c modified +1 −1
src/pl/plperl/plperl.c modified +1 −1
src/pl/plpython/plpy_exec.c modified +1 −1
src/pl/plpython/plpy_typeio.c modified +1 −1
src/pl/tcl/pltcl.c modified +1 −1

Discussion