summaryrefslogtreecommitdiff
path: root/builtin/revert.c
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2012-04-21 21:15:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-04-22 05:18:44 (GMT)
commit5ba9b5e7e34459b9249816d5d9a868f08f2bfa7c (patch)
tree9b1ca2298afc6a05f699e02af0273fe3f2d7a992 /builtin/revert.c
parent406da7803217998ff6bf5dc69c55b1613556c2f4 (diff)
downloadgit-5ba9b5e7e34459b9249816d5d9a868f08f2bfa7c.zip
git-5ba9b5e7e34459b9249816d5d9a868f08f2bfa7c.tar.gz
git-5ba9b5e7e34459b9249816d5d9a868f08f2bfa7c.tar.bz2
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 1ea525c..a022ead 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);