grep.c: remove redundant line of code

Signed-off-by: Angus Hammond <angusgh@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Angus Hammond committed May 6, 2012 at 19:17 UTC 2385f24625cda7cc050996d9966e57be2d4d11a3
1 file changed +1 -1
grep.c
+1 -1
@@ -289,7 +289,7 @@ static struct grep_expr *prep_header_patterns(struct grep_opt *opt)
289
290 if (!opt->header_list)
291 return NULL;
292 - p = opt->header_list;
292 +
293 for (p = opt->header_list; p; p = p->next) {
294 if (p->token != GREP_PATTERN_HEAD)
295 die("bug: a non-header pattern in grep header list.");