summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-04-24 21:41:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-04-24 21:41:16 (GMT)
commit8939cfb5cf576679fe9b533718d5552f71748ee3 (patch)
treef2bd1e83d8f4ceb9bbd18b4cd6206c5ee8476db6
parent803090bef73bea178ea98a80d9a692530ac30d91 (diff)
parent5ba9b5e7e34459b9249816d5d9a868f08f2bfa7c (diff)
downloadgit-8939cfb5cf576679fe9b533718d5552f71748ee3.zip
git-8939cfb5cf576679fe9b533718d5552f71748ee3.tar.gz
git-8939cfb5cf576679fe9b533718d5552f71748ee3.tar.bz2
Merge branch 'cc/fix-missing-va-end-in-revert'
By Christian Couder * cc/fix-missing-va-end-in-revert: revert: add missing va_end
-rw-r--r--builtin/revert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/revert.c b/builtin/revert.c
index e6840f2..e4ed023 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);