mirror of
https://github.com/git/git.git
synced 2025-03-21 01:05:50 +00:00
grep.c: remove redundant line of code
Signed-off-by: Angus Hammond <angusgh@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
f174a2583c
commit
2385f24625
2
grep.c
2
grep.c
@ -289,7 +289,7 @@ static struct grep_expr *prep_header_patterns(struct grep_opt *opt)
|
||||
|
||||
if (!opt->header_list)
|
||||
return NULL;
|
||||
p = opt->header_list;
|
||||
|
||||
for (p = opt->header_list; p; p = p->next) {
|
||||
if (p->token != GREP_PATTERN_HEAD)
|
||||
die("bug: a non-header pattern in grep header list.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user