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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема [COMMITTERS] pgsql: Suppress compiler warning in non-USE_LIBXML builds.
Дата
Msg-id E1cliqw-0000XO-Nb@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Suppress compiler warnings in ecpg test on newer Windows toolcha
Следующее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Suppress compiler warning in slab.c.