summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2012-10-06 21:42:56 -0500
committerCraig A. Berry <craigberry@mac.com>2012-10-07 12:58:03 -0500
commit33971c01593943c682191c11172d3bab281d6dab (patch)
tree641af9f18ae7c790ee463e8a34869a88d2a9083a /mathoms.c
parentf8cafa51a7762a2cfe353a2b948fe5dda43c7fec (diff)
downloadperl-33971c01593943c682191c11172d3bab281d6dab.tar.gz
Perl_sv_mortalcopy expects a return value.
Courtesy of the OpenVMS C compiler, which said: SV * ^ %CC-I-MISSINGRETURN, Non-void function "Perl_sv_mortalcopy" does not contain a return statement. at line number 1206 in file D0:[craig.blead]mathoms.c;1
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathoms.c b/mathoms.c
index a29f70ca11..e8d81054a0 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -1206,7 +1206,7 @@ Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp)
SV *
Perl_sv_mortalcopy(pTHX_ SV *const oldstr)
{
- Perl_sv_mortalcopy_flags(aTHX_ oldstr, SV_GMAGIC);
+ return Perl_sv_mortalcopy_flags(aTHX_ oldstr, SV_GMAGIC);
}
END_EXTERN_C