Commits

Anonymous committed f5a5e9b

Avoid compiler warning.
Signed-off-by: Junio C Hamano <junkio@cox.net>

  • Participants
  • Parent commits 0bc4589

Comments (0)

Files changed (1)

File symbolic-ref.c

 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));