]> granicus.if.org Git - postgresql/commit
Suppress compiler warning in non-USE_LIBXML builds.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 8 Mar 2017 21:10:00 +0000 (16:10 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 8 Mar 2017 21:10:00 +0000 (16:10 -0500)
commitf379121093deb5465b01d93ebe9410d96c6cd093
tree9bee16c1f32bad35a10b42d22f210d2c7b22a4ff
parent86dbbf20d8496ede77566873d1e22cd11c1e544c
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.
src/backend/utils/adt/xml.c