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
commit79602161f7862b042c6d384b754ad6e01690f66c (patch)
tree29a7c5270679c676138ceb155f0ca9f5e7bdaf4c /hv.c
parentbad9ed690fe461db7e0f513bef4072421c668c0f (diff)
downloadperl-79602161f7862b042c6d384b754ad6e01690f66c.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;