aboutsummaryrefslogtreecommitdiffstats
path: root/grep.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-07-13 16:14:54 -0700
committerJunio C Hamano <gitster@pobox.com>2017-07-13 16:14:54 -0700
commiteac97b438c6734304c155604f4c36ac63f29ca6f (patch)
treef6c3d37a2a519535c5bdb7329d44662cac072f80 /grep.h
parent80145b1e412719c960036c8c62a9e35dd23a5b2d (diff)
parent1ceababc4c1817f86094dab1771e23da1ddaf443 (diff)
downloadgit-eac97b438c6734304c155604f4c36ac63f29ca6f.tar.gz
Merge branch 'ab/grep-lose-opt-regflags'
Code cleanup. * ab/grep-lose-opt-regflags: grep: remove redundant REG_NEWLINE when compiling fixed regex grep: remove regflags from the public grep_opt API grep: remove redundant and verbose re-assignments to 0 grep: remove redundant "fixed" field re-assignment to 0 grep: adjust a redundant grep pattern type assignment grep: remove redundant double assignment to 0
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 b8f93bfc2d..0c091e5104 100644
--- a/grep.h
+++ b/grep.h
@@ -162,7 +162,6 @@ struct grep_opt {
char color_match_selected[COLOR_MAXLEN];
char color_selected[COLOR_MAXLEN];
char color_sep[COLOR_MAXLEN];
- int regflags;
unsigned pre_context;
unsigned post_context;
unsigned last_shown;