diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-08 17:48:17 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-08 17:48:17 +0000 |
commit | 4b1c440c100c9148ae3a9da3f948d4f8f85d88c2 (patch) | |
tree | b0eb56b57a364b49d6965ffb4e665a31f087d322 /malloc.c | |
parent | 01b8bcb77a033a072e6afd95c46cef74d30628c1 (diff) | |
download | perl-4b1c440c100c9148ae3a9da3f948d4f8f85d88c2.tar.gz |
Remove the n_a
p4raw-id: //depot/perl@24762
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1159,14 +1159,13 @@ perl_get_emergency_buffer(IV *size) GV **gvp = (GV**)hv_fetch(PL_defstash, "^M", 2, 0); SV *sv; char *pv; - STRLEN n_a; if (!gvp) gvp = (GV**)hv_fetch(PL_defstash, "\015", 1, 0); if (!gvp || !(sv = GvSV(*gvp)) || !SvPOK(sv) || (SvLEN(sv) < (1<<LOG_OF_MIN_ARENA) - M_OVERHEAD)) return NULL; /* Now die die die... */ /* Got it, now detach SvPV: */ - pv = SvPV(sv, n_a); + pv = SvPV_nolen(sv); /* Check alignment: */ if ((PTR2UV(pv) - sizeof(union overhead)) & (NEEDED_ALIGNMENT - 1)) { PerlIO_puts(PerlIO_stderr(),"Bad alignment of $^M!\n"); |