re_intuit_start(): unconditionally init other_last
authorDavid Mitchell <davem@iabyn.com>
Thu, 6 Feb 2014 16:36:52 +0000 (16:36 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sat, 8 Feb 2014 13:50:23 +0000 (13:50 +0000)
commit8f4bf5fc7bce4abc2119b7d08c9265b7e17285e1
treebc01538f105da039d932bbf311f74a0d8a046e5f
parentb96863b839ade8b79f6216567b6e5be6f881700e
re_intuit_start(): unconditionally init other_last

Initialise other_last to strpos at the top if the function, rather than
initialising it to NULL then later setting it to strpos if NULL.
Makes the code simpler.
Although strpos can currently change doing execution, the conditional
assignment always happens before strpos has had a chance to change.
regexec.c