summaryrefslogtreecommitdiff
path: root/vutil.c
diff options
context:
space:
mode:
authorJohn Peacock <jpeacock@cpan.org>2014-01-18 19:25:52 -0500
committerFather Chrysostomos <sprout@cpan.org>2014-01-18 17:37:08 -0800
commite2ca569edb67a22f6462e37bfcb6224f70b4416a (patch)
treed4d4b63c549b1c4060e39667ba6d0fbb2692d2ac /vutil.c
parent05402f6b212ae526674299c1c22151299db21ebb (diff)
downloadperl-e2ca569edb67a22f6462e37bfcb6224f70b4416a.tar.gz
Explicit ENTER/LEAVE block for upg_version
Diffstat (limited to 'vutil.c')
-rw-r--r--vutil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vutil.c b/vutil.c
index 7979c49c15..96aa6f63ad 100644
--- a/vutil.c
+++ b/vutil.c
@@ -553,6 +553,7 @@ Perl_upg_version(pTHX_ SV *ver, bool qv)
const MAGIC *mg;
#endif
+ ENTER;
PERL_ARGS_ASSERT_UPG_VERSION;
if ( SvNOK(ver) && !( SvPOK(ver) && SvCUR(ver) == 3 ) )
@@ -655,6 +656,7 @@ Perl_upg_version(pTHX_ SV *ver, bool qv)
Perl_ck_warner(aTHX_ packWARN(WARN_MISC),
"Version string '%s' contains invalid data; "
"ignoring: '%s'", version, s);
+ LEAVE;
return ver;
}