Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/grep.h
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-02-16 03:00:30 +0300
committerJunio C Hamano <gitster@pobox.com>2022-02-16 05:00:49 +0300
commit77e3f931ef76444d6b28d50ac4fbdc933a15f358 (patch)
tree7a0cd1a746ffae6b7d479a2db315bd01e7136de3 /grep.h
parentb56bd95bbc8f716cb8cbb5fdc18b9b0f00323c6a (diff)
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 <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'grep.h')
-rw-r--r--grep.h1
1 files changed, 0 insertions, 1 deletions
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;