From 5ba9b5e7e34459b9249816d5d9a868f08f2bfa7c Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Sat, 21 Apr 2012 23:15:19 +0200 Subject: revert: add missing va_end Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano --- builtin/revert.c | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/revert.c b/builtin/revert.c index 1ea525c10..a022eadda 100644 --- a/builtin/revert.c +++ b/builtin/revert.c @@ -129,6 +129,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); -- cgit v1.2.1