pgsql: Suppress "control reaches end of non-void function" warning from

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Suppress "control reaches end of non-void function" warning from
Дата
Msg-id E1PgmT8-0007ZY-8V@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Suppress "control reaches end of non-void function" warning from gcc 4.5.

Not sure why I'm seeing this on Fedora 14 and not earlier versions.
Seems like a regression that gcc no longer knows that DIE() doesn't return.
Still, adding a dummy return is harmless enough.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=518b1e96c02ba0fa52227c528d6e951004d0653f

Modified Files
--------------
src/pl/plperl/plperl.c |    1 +
1 files changed, 1 insertions(+), 0 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Suppress possibly-uninitialized-variable warnings from gcc 4.5.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Allow the wal_buffers setting to be auto-tuned to a reasonable v