summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-05-26 22:38:16 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-26 22:38:16 +0000
commit36f65ada8976e23c1222137b59696bff2b63e8f6 (patch)
tree848eddbd7078cf1cf23ed1e47d02641ff2586de9 /sv.c
parent89cd1aa38d5935328b2eb138bbf300778b3c3804 (diff)
downloadperl-36f65ada8976e23c1222137b59696bff2b63e8f6.tar.gz
return clauses are nice.
p4raw-id: //depot/perl@10225
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sv.c b/sv.c
index 659398cd95..f615fe561b 100644
--- a/sv.c
+++ b/sv.c
@@ -2643,7 +2643,7 @@ uiv_2buf(char *buf, IV iv, UV uv, int is_uv, char **peob)
char *
Perl_sv_2pv(pTHX_ register SV *sv, STRLEN *lp)
{
- sv_2pv_flags(sv, lp, SV_GMAGIC);
+ return sv_2pv_flags(sv, lp, SV_GMAGIC);
}
char *
@@ -2972,7 +2972,7 @@ if all the bytes have hibit clear.
STRLEN
Perl_sv_utf8_upgrade(pTHX_ register SV *sv)
{
- sv_utf8_upgrade_flags(sv, SV_GMAGIC);
+ return sv_utf8_upgrade_flags(sv, SV_GMAGIC);
}
/*
@@ -6253,7 +6253,7 @@ Get a sensible string out of the SV somehow.
char *
Perl_sv_pvn_force(pTHX_ SV *sv, STRLEN *lp)
{
- sv_pvn_force_flags(sv, lp, SV_GMAGIC);
+ return sv_pvn_force_flags(sv, lp, SV_GMAGIC);
}
/*