]> granicus.if.org Git - postgresql/commit
Suppress "control reaches end of non-void function" warning from gcc 4.5.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 22 Jan 2011 23:01:31 +0000 (18:01 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 22 Jan 2011 23:01:31 +0000 (18:01 -0500)
commit518b1e96c02ba0fa52227c528d6e951004d0653f
treeae515246b79b6c72230367ca7492c6112983c0eb
parente2627258c3cc43b8b00c5c29c35933a33259e718
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.
src/pl/plperl/plperl.c