From ee96d11bebcbb4826f9b59b5dca64e2b8a204bc0 Mon Sep 17 00:00:00 2001 From: Ramsay Jones Date: Sat, 3 Mar 2007 18:28:46 +0000 Subject: [PATCH] Fix a "label defined but unreferenced" warning. Signed-off-by: Ramsay Jones Signed-off-by: Junio C Hamano --- refs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/refs.c b/refs.c index 638770378..a9b8c72c6 100644 --- a/refs.c +++ b/refs.c @@ -1042,7 +1042,9 @@ int create_symref(const char *ref_target, const char *refs_heads_master, return -1; } +#ifndef NO_SYMLINK_HEAD done: +#endif if (logmsg && !read_ref(refs_heads_master, new_sha1)) log_ref_write(ref_target, old_sha1, new_sha1, logmsg); -- 2.30.2