Re: [PATCH 02/12] grep: remove redundant regflags assignment under PCRE

2017-04-11 Thread Jeff King
On Sat, Apr 08, 2017 at 01:24:56PM +, Ævar Arnfjörð Bjarmason wrote: > Remove a redundant assignment to the "regflags" variable. This > variable is only used for POSIX regular expression matching, not when > the PCRE library is used. > > This redundant assignment was added as a result of

[PATCH 02/12] grep: remove redundant regflags assignment under PCRE

2017-04-08 Thread Ævar Arnfjörð Bjarmason
Remove a redundant assignment to the "regflags" variable. This variable is only used for POSIX regular expression matching, not when the PCRE library is used. This redundant assignment was added as a result of copy/paste programming in commit 84befcd0a4 ("grep: add a grep.patternType