Skip to content

Commit

Permalink
remove superflous "const"
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Alex Riesen authored and Junio C Hamano committed May 21, 2006
1 parent 9e84816 commit fbd01ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-grep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit fbd01ab

Please sign in to comment.