From: Ævar Arnfjörð Bjarmason Date: Wed, 16 Feb 2022 00:00:30 +0000 (+0100) Subject: grep.h: remove unused "regex_t regexp" from grep_opt X-Git-Tag: v2.36.0-rc0~110^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=77e3f931ef76444d6b28d50ac4fbdc933a15f358;p=thirdparty%2Fgit.git grep.h: remove unused "regex_t regexp" from grep_opt This "regex_t" in grep_opt has not been used since f9b9faf6f8a (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 Signed-off-by: Junio C Hamano --- diff --git a/grep.h b/grep.h index 6a1f0ab017..400172676a 100644 --- a/grep.h +++ b/grep.h @@ -136,7 +136,6 @@ struct grep_opt { const char *prefix; int prefix_length; - regex_t regexp; int linenum; int columnnum; int invert;