Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
revert: add missing va_end
[gitweb.git]
/
builtin
/
revert.c
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);