summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Christian Couder <chriscool@tuxfamily.org>2012-04-21 23:15:19 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-04-21 22:18:44 -0700
commit5ba9b5e7e34459b9249816d5d9a868f08f2bfa7c (patch)
tree9b1ca2298afc6a05f699e02af0273fe3f2d7a992 /builtin
parentGit 1.7.8 (diff)
downloadtgif-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')
-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);