Skip to content

Commit

Permalink
Avoid compiler warning.
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Oct 4, 2005
1 parent 0bc4589 commit f5a5e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symbolic-ref.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
static const char git_symbolic_ref_usage[] =
"git-symbolic-ref name [ref]";

static int check_symref(const char *HEAD)
static void check_symref(const char *HEAD)
{
unsigned char sha1[20];
const char *git_HEAD = strdup(git_path("%s", HEAD));
Expand Down

0 comments on commit f5a5e9b

Please sign in to comment.