зеркало из https://github.com/microsoft/git.git
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>
This commit is contained in:
Родитель
78cb59c8e5
Коммит
ee96d11beb
2
refs.c
2
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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче