re_intuit_start(): in MBOL block, eliminate t var
authorDavid Mitchell <davem@iabyn.com>
Fri, 7 Feb 2014 22:33:27 +0000 (22:33 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sat, 8 Feb 2014 14:04:55 +0000 (14:04 +0000)
commit4ada123379923d0ba0d8620c3d182dfd347c1757
tree90cd86407917c559048a61f5287e528c84840d41
parentf4f115deb65686550534968f3c480815511ad36c
re_intuit_start(): in MBOL block, eliminate t var

Currently we do:

    char *t = memchr(rx_origin, '\n');
    if (!t) ...
    rx_origin = t + 1;
    ...

Eliminate the t var and just set rx_origin directly:

    rx_origin = memchr(rx_origin, '\n');
    if (!rx_origin) ...
    rx_origin++;
    ...
regexec.c