summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-05-18 11:27:16 +0100
committerNicholas Clark <nick@ccl4.org>2009-05-18 11:27:16 +0100
commitebee25a2250e4f12a44dc498c0aeeab23b29c639 (patch)
tree7d515790a2860a6a1dbe796be5223237dc60695b /sv.c
parent5c24ba53b31bd7b59968b230a4f79003c5a37750 (diff)
downloadperl-ebee25a2250e4f12a44dc498c0aeeab23b29c639.tar.gz
In Perl_mg_dup(), don't call ptr_table_fetch, as we never call ptr_table_store.
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sv.c b/sv.c
index 858ba260a9..c21b8ce521 100644
--- a/sv.c
+++ b/sv.c
@@ -10516,10 +10516,6 @@ Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS *const param)
if (!mg)
return (MAGIC*)NULL;
- /* look for it in the table first */
- mgret = (MAGIC*)ptr_table_fetch(PL_ptr_table, mg);
- if (mgret)
- return mgret;
for (; mg; mg = mg->mg_moremagic) {
MAGIC *nmg;