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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Suppress "control reaches end of non-void function" warning from
Date: 2011-01-22 23:02:06
Message-ID: E1PgmT8-0007ZY-8V@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-01-23 01:32:24 pgsql: Allow the wal_buffers setting to be auto-tuned to a reasonable v
Previous Message Tom Lane 2011-01-22 22:57:13 pgsql: Suppress possibly-uninitialized-variable warnings from gcc 4.5.