Merge branch 'cc/fix-missing-va-end-in-revert'

By Christian Couder
* cc/fix-missing-va-end-in-revert:
  revert: add missing va_end
maint
Junio C Hamano 2012-04-24 14:41:16 -07:00
commit 8939cfb5cf
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ static void verify_opt_mutually_compatible(const char *me, ...)
break; break;
} }
} }
va_end(ap);


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