diff --git a/src/frontends/lean/parser.cpp b/src/frontends/lean/parser.cpp index 864dc9668..76230a18d 100644 --- a/src/frontends/lean/parser.cpp +++ b/src/frontends/lean/parser.cpp @@ -329,8 +329,7 @@ expr parser::mk_app(expr fn, expr arg, pos_info const & p) { } expr parser::mk_app(std::initializer_list 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++;