git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/6] Fix a "label defined but unreferenced" warning.
@ 2007-03-03 18:28 Ramsay Jones
  0 siblings, 0 replies; only message in thread
From: Ramsay Jones @ 2007-03-03 18:28 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: GIT Mailing-list



Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
---
  refs.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/refs.c b/refs.c
index 6387703..a9b8c72 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);

-- 
1.5.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-03 18:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-03 18:28 [PATCH 3/6] Fix a "label defined but unreferenced" warning Ramsay Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).