[COMMITTERS] pgsql: Suppress compiler warning in non-USE_LIBXML builds.
[COMMITTERS] pgsql: Suppress compiler warning in non-USE_LIBXML builds.
От:
Tom 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(-)