aboutsummaryrefslogtreecommitdiff
path: root/builtin/revert.c
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2012-04-21 23:15:19 +0200
committerJunio C Hamano <gitster@pobox.com>2012-04-21 22:18:44 -0700
commit5ba9b5e7e34459b9249816d5d9a868f08f2bfa7c (patch)
tree9b1ca2298afc6a05f699e02af0273fe3f2d7a992 /builtin/revert.c
parent406da7803217998ff6bf5dc69c55b1613556c2f4 (diff)
downloadgit-5ba9b5e7e34459b9249816d5d9a868f08f2bfa7c.tar.gz
git-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/revert.c')
-rw-r--r--builtin/revert.c1
1 files changed, 1 insertions, 0 deletions
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);