Skip to content

Commit 5ba9b5e

Browse files
chriscoolgitster
authored andcommitted
revert: add missing va_end
Signed-off-by: Christian Couder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 406da78 commit 5ba9b5e

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
@@ -129,6 +129,7 @@ static void verify_opt_mutually_compatible(const char *me, ...)
129129
break;
130130
}
131131
}
132+
va_end(ap);
132133

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

0 commit comments

Comments
 (0)