revert: add missing va_end

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Christian Couder 2012-04-21 23:15:19 +02:00 committed by Junio C Hamano
parent 406da78032
commit 5ba9b5e7e3

View File

@ -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);