pgsql: Suppress compiler warning in non-USE_LIBXML builds.

Started by Tom Laneover 9 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Suppress compiler warning in non-USE_LIBXML builds.

Compilers that don't realize that ereport(ERROR) doesn't return
complained that XmlTableGetValue() failed to return a value.

Also, make XmlTableFetchRow's non-USE_LIBXML case look more like
the other ones. As coded, it could lead to "unreachable code"
warnings with USE_LIBXML enabled.

Oversights in commit fcec6caaf. Per buildfarm.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f379121093deb5465b01d93ebe9410d96c6cd093

Modified Files
--------------
src/backend/utils/adt/xml.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers