diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2007-03-03 18:28:46 +0000 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-03 18:43:25 -0800 |
commit | ee96d11bebcbb4826f9b59b5dca64e2b8a204bc0 (patch) | |
tree | d0dadf4b0239e71d305d6a627c5ba214bcbc4f3b | |
parent | Document the config variable format.suffix (diff) | |
download | tgif-ee96d11bebcbb4826f9b59b5dca64e2b8a204bc0.tar.xz |
Fix a "label defined but unreferenced" warning.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r-- | refs.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |