diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-06-10 20:12:33 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-06-15 12:28:14 -0700 |
commit | 17e630981f8fb430b753fffb5027dbe121759a1c (patch) | |
tree | bd9a6fe692ccd2a70e185849ece168d547d71fa9 /gv.c | |
parent | 334dda80119a7439d15c0fad85c705b913ba6848 (diff) | |
download | perl-17e630981f8fb430b753fffb5027dbe121759a1c.tar.gz |
gv.c: Don’t repeat GvSVn
GvSVn checks whether there is a scalar present and creates one if there
is not. So doing GvSVn twice in a row results in a redundant check.
It has been this way since c69033f2.
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1977,7 +1977,7 @@ Perl_gv_fetchpvn_flags(pTHX_ const char *nambeg, STRLEN full_len, I32 flags, case '\014': /* $^L */ sv_setpvs(GvSVn(gv),"\f"); - PL_formfeed = GvSVn(gv); + PL_formfeed = GvSV(gv); break; case ';': /* $; */ sv_setpvs(GvSVn(gv),"\034"); |