[COMMITTERS] pgsql: Suppress compiler warning in slab.c. - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Suppress compiler warning in slab.c.
Date
Msg-id E1clizp-0000ix-F3@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Suppress compiler warning in non-USE_LIBXML builds.
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Document intentional violations of header inclusion policy.