Avoid compiler warning. Signed-off-by: Junio C Hamano <junkio@cox.net>
Avoid compiler warning. Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Oct 3, 2005 at 19:11 UTC
f5a5e9b9f4f08544660fd55cd211bdd57c55b32f
1 file changed
+1
-1
symbolic-ref.c
+1
-1
@@ -3,7 +3,7 @@
3
static const char git_symbolic_ref_usage[] =
4
"git-symbolic-ref name [ref]";
5
6
-static int check_symref(const char *HEAD)
6
+static void check_symref(const char *HEAD)
7
{
8
unsigned char sha1[20];
9
const char *git_HEAD = strdup(git_path("%s", HEAD));