[COMMITTERS] pgsql: Suppress compiler warning in non-USE_LIBXML builds. - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Suppress compiler warning in non-USE_LIBXML builds.
Date
Msg-id E1cliqw-0000XO-Nb@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Suppress compiler warnings in ecpg test on newer Windows toolcha
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Suppress compiler warning in slab.c.