diff --git a/src/frontends/lean/parse_table.cpp b/src/frontends/lean/parse_table.cpp index e958293cd..a93fcef15 100644 --- a/src/frontends/lean/parse_table.cpp +++ b/src/frontends/lean/parse_table.cpp @@ -527,7 +527,7 @@ void parse_table::for_each(buffer & ts, list const &)> const & fn) const { if (!is_nil(m_ptr->m_accept)) fn(ts.size(), ts.data(), m_ptr->m_accept); - m_ptr->m_children.for_each([&](name const & k, list> const & lst) { + m_ptr->m_children.for_each([&](name const &, list> const & lst) { for (auto const & p : lst) { ts.push_back(p.first); p.second.for_each(ts, fn);