pgsql: Suppress compiler warning about no function return value.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Suppress compiler warning about no function return value.
Дата
Msg-id E1eQRiO-0005ZM-OR@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Suppress compiler warning about no function return value.

Compilers that don't know that ereport(ERROR) doesn't return
complained about the new coding in scanint8() introduced by
commit 101c7ee3e.  Tweak coding to avoid the warning.
Per buildfarm.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b31a9d7dd3bf8435fddf404c4b75236d0ea76d78

Modified Files
--------------
src/backend/utils/adt/int8.c | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Provide overflow safe integer math inline functions.
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Provide overflow safe integer math inline functions.