From b52b7737b2243b234d5171a27622937feb18c422 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Tue, 4 Feb 2014 20:09:48 +0000 Subject: [PATCH] re_intuit_start(): remove redundant assignment we do 'rx_origin = strpos;' in the branch that has the condition 'rx_origin == strpos' --- regexec.c | 1 - 1 file changed, 1 deletion(-) 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) -- 2.7.4