diff options
author | Craig A. Berry <craigberry@mac.com> | 2012-10-06 21:42:56 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2012-10-07 12:58:03 -0500 |
commit | 33971c01593943c682191c11172d3bab281d6dab (patch) | |
tree | 641af9f18ae7c790ee463e8a34869a88d2a9083a /mathoms.c | |
parent | f8cafa51a7762a2cfe353a2b948fe5dda43c7fec (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |