1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-12 21:06:08 +02:00

grep.h: remove unused "regex_t regexp" from grep_opt

This "regex_t" in grep_opt has not been used since
f9b9faf6f8 (builtin-grep: allow more than one patterns., 2006-05-02),
we still use a "regex_t" for compiling regexes, but that's in the
"grep_pat" struct".

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ævar Arnfjörð Bjarmason 2022-02-16 01:00:30 +01:00 committed by Junio C Hamano
parent b56bd95bbc
commit 77e3f931ef

1
grep.h
View File

@ -136,7 +136,6 @@ struct grep_opt {
const char *prefix;
int prefix_length;
regex_t regexp;
int linenum;
int columnnum;
int invert;