summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2021-09-22 09:32:55 +0000
committerNicholas Clark <nick@ccl4.org>2021-09-28 06:12:27 +0000
commit53e57886af4cddfdf74c6a06e9a6995d07318806 (patch)
tree2e4e55d8e53d93812a9b195cc7e6c189892ee24b /perl.c
parent4fc30d62c2a290a6dfdfe429ff18dfcbc97a4233 (diff)
downloadperl-53e57886af4cddfdf74c6a06e9a6995d07318806.tar.gz
No need to wrap INIT_TRACK_MEMPOOL with #ifdef PERL_TRACK_MEMPOOL
`INIT_TRACK_MEMPOOL` is defined as a no-op if `PERL_TRACK_MEMPOOL` is not defined, so no need to wrap it in `#ifdef`. Spotted by Ilmari.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/perl.c b/perl.c
index f498f96cb8..c9807b7226 100644
--- a/perl.c
+++ b/perl.c
@@ -193,9 +193,7 @@ perl_alloc(void)
PerlInterpreter *my_perl = (PerlInterpreter*)PerlMem_calloc(1, sizeof(PerlInterpreter));
S_init_tls_and_interp(my_perl);
-#ifdef PERL_TRACK_MEMPOOL
INIT_TRACK_MEMPOOL(PL_memory_debug_header, my_perl);
-#endif
return my_perl;
}
#endif /* PERL_IMPLICIT_SYS */