pgsql: Suppress compiler warning in slab.c.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Suppress compiler warning in slab.c.
Date: 2017-03-08 21:19:45
Message-ID: E1clizp-0000ix-F3@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress compiler warning in slab.c.

Compilers that don't realize that elog(ERROR) doesn't return
complained that SlabRealloc() failed to return a value.

While at it, fix the rather muddled header comment for the function.

Per buildfarm.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2f899e7d37ece937740c99164dd846c4b6f884eb

Modified Files
--------------
src/backend/utils/mmgr/slab.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-03-08 22:01:24 pgsql: Document intentional violations of header inclusion policy.
Previous Message Tom Lane 2017-03-08 21:10:34 pgsql: Suppress compiler warning in non-USE_LIBXML builds.