From fbd01abf50488d8ed94c36bdd5bfc2a4ddafb8a2 Mon Sep 17 00:00:00 2001 From: Alex Riesen Date: Sun, 21 May 2006 22:45:46 +0200 Subject: remove superflous "const" Signed-off-by: Junio C Hamano --- builtin-grep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin-grep.c') diff --git a/builtin-grep.c b/builtin-grep.c index d09ddf0485..53de8a8836 100644 --- a/builtin-grep.c +++ b/builtin-grep.c @@ -518,7 +518,7 @@ static int external_grep(struct grep_opt *opt, const char **paths, int cached) argc = nr; for (i = 0; i < active_nr; i++) { struct cache_entry *ce = active_cache[i]; - const char *name; + char *name; if (ce_stage(ce) || !S_ISREG(ntohl(ce->ce_mode))) continue; if (!pathspec_matches(paths, ce->name)) -- cgit v1.2.3