Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'cc/fix-missing-va-end-in-revert'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 24 Apr 2012 21:41:16 +0000
(14:41 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 24 Apr 2012 21:41:16 +0000
(14:41 -0700)
By Christian Couder
* cc/fix-missing-va-end-in-revert:
revert: add missing va_end
builtin/revert.c
patch
|
blob
|
history
raw
(from parent 1:
803090b
)
diff --git
a/builtin/revert.c
b/builtin/revert.c
index e6840f23dc9ee6d670bb6254bee074e58e818486..e4ed0239ca7cbc0f33f2cf02d6287e681ca535bf 100644
(file)
--- 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);