projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f20d386
)
re_intuit_start(): remove redundant assignment
author
David Mitchell
<davem@iabyn.com>
Tue, 4 Feb 2014 20:09:48 +0000
(20:09 +0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/regexec.c
b/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)