Skip to content

Commit 8939cfb

Browse files
committed
Merge branch 'cc/fix-missing-va-end-in-revert'
By Christian Couder * cc/fix-missing-va-end-in-revert: revert: add missing va_end
2 parents 803090b + 5ba9b5e commit 8939cfb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builtin/revert.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ static void verify_opt_mutually_compatible(const char *me, ...)
8686
break;
8787
}
8888
}
89+
va_end(ap);
8990

9091
if (opt1 && opt2)
9192
die(_("%s: %s cannot be used with %s"), me, opt1, opt2);

0 commit comments

Comments
 (0)