Skip to content

Commit

Permalink
Merge branch 'cc/fix-missing-va-end-in-revert' into maint
Browse files Browse the repository at this point in the history
By Christian Couder
* cc/fix-missing-va-end-in-revert:
  revert: add missing va_end
  • Loading branch information
Junio C Hamano committed May 10, 2012
2 parents 6331da9 + 5ba9b5e commit 5939c69
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 @@ -86,6 +86,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 5939c69

Please sign in to comment.