summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2013-07-15 21:10:47 +0100
committerDavid Mitchell <davem@iabyn.com>2013-07-28 10:33:38 +0100
commitc947cd8d4017ec6273b59c3f119e59654b960f34 (patch)
tree567f455b09341d810b5ae7de2dbc3ea445012ffa /pp_hot.c
parent2b25edcf0363cd9d910984eaed0021da7872ff53 (diff)
downloadperl-c947cd8d4017ec6273b59c3f119e59654b960f34.tar.gz
pp_subst: remove one use of 'm' local var
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 8c36b46fca..e59c9fe58f 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -2200,11 +2200,10 @@ PP(pp_subst)
}
else if ((i = m - s)) { /* faster from front */
d -= clen;
- m = d;
Move(s, d - i, i, char);
sv_chop(TARG, d-i);
if (clen)
- Copy(c, m, clen, char);
+ Copy(c, d, clen, char);
}
else if (clen) {
d -= clen;