From: Ramsay Jones Date: Sat, 3 Mar 2007 18:28:46 +0000 (+0000) Subject: Fix a "label defined but unreferenced" warning. X-Git-Tag: v1.5.0.3~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ee96d11bebcbb4826f9b59b5dca64e2b8a204bc0;p=git.git Fix a "label defined but unreferenced" warning. Signed-off-by: Ramsay Jones Signed-off-by: Junio C Hamano --- 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);