pp_subst: remove one use of 'm' local var
authorDavid Mitchell <davem@iabyn.com>
Mon, 15 Jul 2013 20:10:47 +0000 (21:10 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 28 Jul 2013 09:33:38 +0000 (10:33 +0100)
pp_hot.c

index 8c36b46..e59c9fe 100644 (file)
--- 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;