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>
maint
Ramsay Jones 2007-03-03 18:28:46 +00:00 committed by Junio C Hamano
parent 78cb59c8e5
commit ee96d11beb
1 changed files with 2 additions and 0 deletions

2
refs.c
View File

@ -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);