From: Junio C Hamano Date: Tue, 4 Oct 2005 02:11:32 +0000 (-0700) Subject: Avoid compiler warning. X-Git-Tag: v0.99.8b~2^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f5a5e9b9f4f08544660fd55cd211bdd57c55b32f;p=git.git Avoid compiler warning. Signed-off-by: Junio C Hamano --- diff --git a/symbolic-ref.c b/symbolic-ref.c index af087d211..a72d7accb 100644 --- a/symbolic-ref.c +++ b/symbolic-ref.c @@ -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));