re_intuit_start(): remove redundant assignment
authorDavid Mitchell <davem@iabyn.com>
Tue, 4 Feb 2014 20:09:48 +0000 (20:09 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sat, 8 Feb 2014 13:50:11 +0000 (13:50 +0000)
we do 'rx_origin = strpos;' in the branch that has the condition
'rx_origin == strpos'

regexec.c

index 82b174f..4a9a82d 100644 (file)
--- 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)