X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=symbolic-ref.c;h=a72d7accb18092231c608a6ae7db4a4ce9dc8b73;hb=1bd8c8f00b1c7facb67c99047fe777b53f2c49ff;hp=af087d211de32786120882f89a63f94a3e699d98;hpb=8098a178b26dc7a158d129a092a5b78da6d12b72;p=git.git diff --git a/symbolic-ref.c b/symbolic-ref.c index af087d21..a72d7acc 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));