summaryrefslogtreecommitdiff
path: root/doop.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-08 15:39:40 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-08 15:39:40 +0000
commit8b6b16e72bf4dd30bd09781ad50e9f66fd94440b (patch)
treee4f7d3a25be8a7b00eb3fc485a6669b2cde6206c /doop.c
parent13c5b33cae5690f108494286e4d841e38c57677d (diff)
downloadperl-8b6b16e72bf4dd30bd09781ad50e9f66fd94440b.tar.gz
Nuke some more n_a, and convert S_gv_ename from char * to const char *
p4raw-id: //depot/perl@24760
Diffstat (limited to 'doop.c')
-rw-r--r--doop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/doop.c b/doop.c
index a5dcc684dc..b17da1ad29 100644
--- a/doop.c
+++ b/doop.c
@@ -1006,7 +1006,6 @@ Perl_do_chomp(pTHX_ register SV *sv)
{
register I32 count;
STRLEN len;
- STRLEN n_a;
char *s;
char *temp_buffer = NULL;
SV* svrecode = Nullsv;
@@ -1123,7 +1122,7 @@ Perl_do_chomp(pTHX_ register SV *sv)
count += rs_charlen;
}
}
- s = SvPV_force(sv, n_a);
+ s = SvPV_force_nolen(sv);
SvCUR_set(sv, len);
*SvEND(sv) = '\0';
SvNIOK_off(sv);