From: David Mitchell Date: Tue, 4 Feb 2014 20:09:48 +0000 (+0000) Subject: re_intuit_start(): remove redundant assignment X-Git-Tag: upstream/5.20.0~464^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b52b7737b2243b234d5171a27622937feb18c422;p=platform%2Fupstream%2Fperl.git re_intuit_start(): remove redundant assignment we do 'rx_origin = strpos;' in the branch that has the condition 'rx_origin == strpos' --- diff --git a/regexec.c b/regexec.c index 82b174f..4a9a82d 100644 --- a/regexec.c +++ b/regexec.c @@ -1159,7 +1159,6 @@ Perl_re_intuit_start(pTHX_ /* May be due to an implicit anchor of m{.*foo} */ && !(prog->intflags & PREGf_IMPLICIT)) { - rx_origin = strpos; goto find_anchor; } DEBUG_EXECUTE_r( if (ml_anch)