diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-09-21 10:53:56 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-09-21 10:53:56 +0000 |
commit | 2596d9fe3023e9da9e3e000993c9f26fa30909ef (patch) | |
tree | 24896940c9bb348b74e34fad515317adb56837ac /pp_pack.c | |
parent | 8dfcc1616e57fd4d21ae26bcb2e0c92ae93ab613 (diff) | |
download | perl-2596d9fe3023e9da9e3e000993c9f26fa30909ef.tar.gz |
Remove the last STRLEN n_a;s that my compiler can reach.
p4raw-id: //depot/perl@25530
Diffstat (limited to 'pp_pack.c')
-rw-r--r-- | pp_pack.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -3522,7 +3522,6 @@ S_pack_rec(pTHX_ SV *cat, tempsym_t* symptr, SV **beglist, SV **endlist ) SvGETMAGIC(fromstr); if (!SvOK(fromstr)) aptr = NULL; else { - STRLEN n_a; /* XXX better yet, could spirit away the string to * a safe spot and hang on to it until the result * of pack() (and all copies of the result) are @@ -3534,9 +3533,9 @@ S_pack_rec(pTHX_ SV *cat, tempsym_t* symptr, SV **beglist, SV **endlist ) "Attempt to pack pointer to temporary value"); } if (SvPOK(fromstr) || SvNIOK(fromstr)) - aptr = SvPV_nomg_const(fromstr, n_a); + aptr = SvPV_nomg_const_nolen(fromstr); else - aptr = SvPV_force_flags(fromstr, n_a, 0); + aptr = SvPV_force_flags_nolen(fromstr, 0); } DO_BO_PACK_PC(aptr); PUSH_VAR(utf8, cur, aptr); |