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

From Tom Lane
Subject pgsql: Suppress "control reaches end of non-void function" warning from
Date
Msg-id E1PgmT8-0007ZY-8V@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Suppress possibly-uninitialized-variable warnings from gcc 4.5.
Next
From: Tom Lane
Date:
Subject: pgsql: Allow the wal_buffers setting to be auto-tuned to a reasonable v