summaryrefslogtreecommitdiff
path: root/pp_pack.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-04-30 22:00:34 +0000
committerNicholas Clark <nick@ccl4.org>2006-04-30 22:00:34 +0000
commit56eb0262cf56fc0680c7c9ab97c66f67c16df4f0 (patch)
tree7794e373365f03f3d73ecfe386dea19d247918e7 /pp_pack.c
parentb47163a2906cf2ff40db5092eaa4c948dd1e63f0 (diff)
downloadperl-56eb0262cf56fc0680c7c9ab97c66f67c16df4f0.tar.gz
Replace a STRLEN no_len; with a _nolen macro call.
p4raw-id: //depot/perl@28032
Diffstat (limited to 'pp_pack.c')
-rw-r--r--pp_pack.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pp_pack.c b/pp_pack.c
index 61af698bb2..5deede9428 100644
--- a/pp_pack.c
+++ b/pp_pack.c
@@ -2370,14 +2370,13 @@ void
Perl_packlist(pTHX_ SV *cat, const char *pat, const char *patend, register SV **beglist, SV **endlist )
{
dVAR;
- STRLEN no_len;
tempsym_t sym;
TEMPSYM_INIT(&sym, pat, patend, FLAG_PACK);
/* We're going to do changes through SvPVX(cat). Make sure it's valid.
Also make sure any UTF8 flag is loaded */
- SvPV_force(cat, no_len);
+ SvPV_force_nolen(cat);
if (DO_UTF8(cat))
sym.flags |= FLAG_PARSE_UTF8 | FLAG_DO_UTF8;