fix(frontends/lean/parser): warning when compiling in release mode
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
3953d4d122
commit
c7c5e41653
1 changed files with 1 additions and 2 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue