fix(frontends/lean/parser): warning when compiling in release mode

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-06-22 09:55:38 -07:00
parent 3953d4d122
commit c7c5e41653

View file

@ -329,8 +329,7 @@ expr parser::mk_app(expr fn, expr arg, pos_info const & p) {
}
expr parser::mk_app(std::initializer_list<expr> const & args, pos_info const & p) {
unsigned nargs = args.size();
lean_assert(nargs >= 2);
lean_assert(args.size() >= 2);
auto it = args.begin();
expr r = *it;
it++;