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:
authorJunio C Hamano <gitster@pobox.com>2012-04-25 01:41:16 +0400
committerJunio C Hamano <gitster@pobox.com>2012-04-25 01:41:16 +0400
commit8939cfb5cf576679fe9b533718d5552f71748ee3 (patch)
treef2bd1e83d8f4ceb9bbd18b4cd6206c5ee8476db6 /builtin/revert.c
parent803090bef73bea178ea98a80d9a692530ac30d91 (diff)
parent5ba9b5e7e34459b9249816d5d9a868f08f2bfa7c (diff)
Merge branch 'cc/fix-missing-va-end-in-revert'
By Christian Couder * cc/fix-missing-va-end-in-revert: revert: add missing va_end
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 e6840f23dc..e4ed0239ca 100644
--- a/builtin/revert.c
+++ b/builtin/revert.c
@@ -86,6 +86,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);