From 518b1e96c02ba0fa52227c528d6e951004d0653f Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat, 22 Jan 2011 18:01:31 -0500
Subject: [PATCH] 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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/pl/plperl/plperl.c b/src/pl/plperl/plperl.c
index 5595baaed5f..e1056033037 100644
--- a/src/pl/plperl/plperl.c
+++ b/src/pl/plperl/plperl.c
@@ -774,6 +774,7 @@ pp_require_safe(pTHX)
 		RETPUSHYES;
 
 	DIE(aTHX_ "Unable to load %s into plperl", name);
+	return NULL;				/* keep compiler quiet */
 }
 
 
-- 
GitLab