git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/6] Fix a "label defined but unreferenced" warning.

From
Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Date
Mar 3, 2007, 18:28 UTC
Message-ID
<45E9BE5E.2000207@ramsay1.demon.co.uk>
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
Message 1 of 1 in “Fix a "label defined but unreferenced" warning.”
  1. 3/6 Fix a "label defined but unreferenced" warning.Ramsay Jones, Mar 3, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.