Skip to content

Commit 518b1e9

Browse files
committed
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.
1 parent e262725 commit 518b1e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pl/plperl/plperl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,7 @@ pp_require_safe(pTHX)
774774
RETPUSHYES;
775775

776776
DIE(aTHX_ "Unable to load %s into plperl", name);
777+
return NULL; /* keep compiler quiet */
777778
}
778779

779780

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy