projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
406da78
)
revert: add missing va_end
author
Christian Couder
<chriscool@tuxfamily.org>
Sat, 21 Apr 2012 21:15:19 +0000
(23:15 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 22 Apr 2012 05:18:44 +0000
(22:18 -0700)
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/revert.c
patch
|
blob
|
history
diff --git
a/builtin/revert.c
b/builtin/revert.c
index 1ea525c10e4c00b66006bf46465ebd490823f25f..a022eadda37122b7916b063fbdd184b1d6435e7b 100644
(file)
--- 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);