Skip to content

Commit

Permalink
chore(kernel/inductive): style
Browse files Browse the repository at this point in the history
  • Loading branch information
leodemoura committed Jun 12, 2018
1 parent e9b4b81 commit effefb8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/kernel/inductive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,9 @@ class add_inductive_fn {
}
}

void check_constructor(constructor const & cnstr, unsigned decl_idx) {
void check_constructor(constructor const & cnstr, unsigned /* decl_idx */) {
check_no_metavar_no_fvar(m_env, cnstr.m_name, cnstr.m_type);
type_checker(m_env).check(cnstr.m_type, m_level_params);

}

void check_constructors() {
Expand All @@ -135,7 +134,7 @@ class add_inductive_fn {
};

environment environment::add_inductive_decls(inductive_decls const & decls) const {
return add_inductive_fn(*this,decls)();
return add_inductive_fn(*this, decls)();
}

void initialize_inductive() {
Expand Down

0 comments on commit effefb8

Please sign in to comment.