From: Abhijit Menon-Sen <ams@wiw.org>
Date: Mon, 8 Apr 2002 01:30:38 +0000 (+0000)
Subject:    Remove, eliminate, and destroy multiple, redundant occurences of the
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=39149da365a92c1591bb7f6e6f7b139f25712356;p=p5sagit%2Fp5-mst-13.2.git

   Remove, eliminate, and destroy multiple, redundant occurences of the
   same line of code. (As suggested by Simon Cozens.)

p4raw-id: //depot/perl@15797
---

diff --git a/mg.c b/mg.c
index 3e8e13d..9fe3369 100644
--- a/mg.c
+++ b/mg.c
@@ -454,7 +454,6 @@ Perl_magic_len(pTHX_ SV *sv, MAGIC *mg)
 		    char *s    = rx->subbeg + s1;
 		    char *send = rx->subbeg + t1;
 
-		    i = t1 - s1;
 		    if (is_utf8_string((U8*)s, i))
 			i = Perl_utf8_length(aTHX_ (U8*)s, (U8*)send);
 		}