diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2012-04-21 23:15:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-21 22:18:44 -0700 |
commit | 5ba9b5e7e34459b9249816d5d9a868f08f2bfa7c (patch) | |
tree | 9b1ca2298afc6a05f699e02af0273fe3f2d7a992 /builtin | |
parent | Git 1.7.8 (diff) | |
download | tgif-5ba9b5e7e34459b9249816d5d9a868f08f2bfa7c.tar.xz |
revert: add missing va_end
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/revert.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/revert.c b/builtin/revert.c index 1ea525c10e..a022eadda3 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); |