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

[PATCH] revert: add missing va_end

From
Christian Couder <chriscool@tuxfamily.org>
Date
Apr 21, 2012, 21:15 UTC
Message-ID
<20120421211520.2797.87418.chriscool@tuxfamily.org>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 builtin/revert.c |    1 +
 1 file changed, 1 insertion(+)
diff --git a/builtin/revert.c b/builtin/revert.c
index e6840f2..e4ed023 100644
--- a/builtin/revert.c
+++ b/builtin/revert.c
@@ -86,6 +86,7 @@ static void verify_opt_mutually_compatible(const char *me, ...)
 				break;
 		}
 	}
+	va_end(ap);
 
 	if (opt1 && opt2)
 		die(_("%s: %s cannot be used with %s"),	me, opt1, opt2);
-- 
1.7.10.rc0.17.g74595
Next: Junio C Hamano
Message 1 of 2 in “revert: add missing va_end”
  1. revert: add missing va_endChristian Couder, Apr 21, 2012
  2. Junio C HamanoApr 22, 2012

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.