re_intuit_start(): remove other_last = rx_origin
authorDavid Mitchell <davem@iabyn.com>
Fri, 7 Feb 2014 17:04:21 +0000 (17:04 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sat, 8 Feb 2014 14:04:55 +0000 (14:04 +0000)
commitab028a158ac4a4c6c0c2ebcca00ae595f93d2fe6
tree0e56d4e8e209f47e9cd0c66b1c4660c32799ac0b
parentec19cf6bc850473f27f9bb92a316cd58fd76797c
re_intuit_start(): remove other_last = rx_origin

The previous commit made this assignment conditional on other_last
not decreasing; but it turns out that increasing it is pointless (although
harmless), since the next time round the "other" substring block, the
current rx_origin will be >= the old rx_origin (since we never decrease
it), and s >= new rx_origin. So s would already be >= the value we would set
other_last to, so it doesn't make any difference.
regexec.c