summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-05-24 06:41:15 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-05-30 08:54:51 +0000
commit4ab2a30b7819ac6edb69c69e044edaf44dd8119f (patch)
tree29a7c5270679c676138ceb155f0ca9f5e7bdaf4c /hv.c
parent1df70142a966e14eb7ff3560d69bddb190dbe2ba (diff)
downloadperl-4ab2a30b7819ac6edb69c69e044edaf44dd8119f.tar.gz
Teeny optimization in S_hv_magic_check
Message-ID: <20050524164115.GA12027@petdance.com> p4raw-id: //depot/perl@24626
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hv.c b/hv.c
index fe7e3885c6..21e7ac3a1d 100644
--- a/hv.c
+++ b/hv.c
@@ -828,6 +828,7 @@ S_hv_magic_check(pTHX_ HV *hv, bool *needs_copy, bool *needs_store)
case PERL_MAGIC_tied:
case PERL_MAGIC_sig:
*needs_store = FALSE;
+ return; /* We've set all there is to set. */
}
}
mg = mg->mg_moremagic;