]> granicus.if.org Git - postgresql/commit
Suppress compiler warning in slab.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 8 Mar 2017 21:19:37 +0000 (16:19 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 8 Mar 2017 21:19:37 +0000 (16:19 -0500)
commit2f899e7d37ece937740c99164dd846c4b6f884eb
treeebebbc24205311f413d6239c1365ebabc89a2adf
parentf379121093deb5465b01d93ebe9410d96c6cd093
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.
src/backend/utils/mmgr/slab.c