summaryrefslogtreecommitdiff
path: root/symbolic-ref.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-04 02:11:32 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-04 02:11:32 (GMT)
commitf5a5e9b9f4f08544660fd55cd211bdd57c55b32f (patch)
treec6e15f91a18ad17c315dfc9e43280fe5802be34b /symbolic-ref.c
parent0bc458902020b705fa913ca340aa40fea0f87096 (diff)
downloadgit-f5a5e9b9f4f08544660fd55cd211bdd57c55b32f.zip
git-f5a5e9b9f4f08544660fd55cd211bdd57c55b32f.tar.gz
git-f5a5e9b9f4f08544660fd55cd211bdd57c55b32f.tar.bz2
Avoid compiler warning.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'symbolic-ref.c')
-rw-r--r--symbolic-ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/symbolic-ref.c b/symbolic-ref.c
index af087d2..a72d7ac 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));