From: Christian Couder Date: Sat, 21 Apr 2012 21:15:19 +0000 (+0200) Subject: revert: add missing va_end X-Git-Tag: v1.7.10.2~13^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5ba9b5e7e34459b9249816d5d9a868f08f2bfa7c;p=git.git revert: add missing va_end Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano --- 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);