Skip to content

Commit fbd01ab

Browse files
Alex RiesenJunio C Hamano
authored andcommitted
remove superflous "const"
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 9e84816 commit fbd01ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin-grep.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ static int external_grep(struct grep_opt *opt, const char **paths, int cached)
518518
argc = nr;
519519
for (i = 0; i < active_nr; i++) {
520520
struct cache_entry *ce = active_cache[i];
521-
const char *name;
521+
char *name;
522522
if (ce_stage(ce) || !S_ISREG(ntohl(ce->ce_mode)))
523523
continue;
524524
if (!pathspec_matches(paths, ce->name))

0 commit comments

Comments
 (0)