Обсуждение: pgsql: Suppress "control reaches end of non-void function" warning from

Поиск
Список
Период
Сортировка

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

От
Tom Lane
Дата:
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(-)