Skip to content

Commit

Permalink
mailmap.c: remove unused function
Browse files Browse the repository at this point in the history
map_email() is not used anywhere.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
gitster committed Jan 12, 2010
1 parent 5e133b8 commit 42b3b00
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions mailmap.c
Expand Up @@ -243,8 +243,3 @@ int map_user(struct string_list *map,
debug_mm("map_user: --\n");
return 0;
}

int map_email(struct string_list *map, const char *email, char *name, int maxlen)
{
return map_user(map, (char *)email, 0, name, maxlen);
}
1 change: 0 additions & 1 deletion mailmap.h
Expand Up @@ -4,7 +4,6 @@
int read_mailmap(struct string_list *map, char **repo_abbrev);
void clear_mailmap(struct string_list *map);

int map_email(struct string_list *mailmap, const char *email, char *name, int maxlen);
int map_user(struct string_list *mailmap,
char *email, int maxlen_email, char *name, int maxlen_name);

Expand Down

0 comments on commit 42b3b00

Please sign in to comment.