Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2012-04-22 01:15:19 +0400
committerJunio C Hamano <gitster@pobox.com>2012-04-22 09:18:44 +0400
commit5ba9b5e7e34459b9249816d5d9a868f08f2bfa7c (patch)
tree9b1ca2298afc6a05f699e02af0273fe3f2d7a992 /builtin/revert.c
parent406da7803217998ff6bf5dc69c55b1613556c2f4 (diff)
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 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);