Skip to content

Commit

Permalink
revert: add missing va_end
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Couder <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
chriscool authored and gitster committed Apr 22, 2012
1 parent 406da78 commit 5ba9b5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/revert.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5ba9b5e

Please sign in to comment.