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.
This commit is contained in:
Tom Lane 2011-01-22 18:01:31 -05:00
parent e2627258c3
commit 518b1e96c0

View File

@ -774,6 +774,7 @@ pp_require_safe(pTHX)
RETPUSHYES;
DIE(aTHX_ "Unable to load %s into plperl", name);
return NULL; /* keep compiler quiet */
}