Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 2385f24

Browse files
Mjiiggitster
authored andcommitted
grep.c: remove redundant line of code
Signed-off-by: Angus Hammond <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f174a25 commit 2385f24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grep.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ static struct grep_expr *prep_header_patterns(struct grep_opt *opt)
289289

290290
if (!opt->header_list)
291291
return NULL;
292-
p = opt->header_list;
292+
293293
for (p = opt->header_list; p; p = p->next) {
294294
if (p->token != GREP_PATTERN_HEAD)
295295
die("bug: a non-header pattern in grep header list.");

0 commit comments

Comments
 (0)