Skip to content

Commit 77e3f93

Browse files
avargitster
authored andcommitted
grep.h: remove unused "regex_t regexp" from grep_opt
This "regex_t" in grep_opt has not been used since f9b9faf (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b56bd95 commit 77e3f93

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

grep.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ struct grep_opt {
136136

137137
const char *prefix;
138138
int prefix_length;
139-
regex_t regexp;
140139
int linenum;
141140
int columnnum;
142141
int invert;

0 commit comments

Comments
 (0)