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 /refs.c | |
parent | 78cb59c8e5b5ac6ab709b8544698e13511759a76 (diff) | |
download | git-ee96d11bebcbb4826f9b59b5dca64e2b8a204bc0.tar.gz |
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>
Diffstat (limited to 'refs.c')
-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); |