fix(library/rewriter): unused variable warnings

This commit is contained in:
Soonho Kong 2013-11-30 07:05:18 -05:00
parent 83aaf64318
commit f205dd0763
2 changed files with 0 additions and 3 deletions

View file

@ -94,8 +94,6 @@ class apply_rewriter_fn {
std::pair<expr, expr> result_rhs = apply(env, ctx, rhs);
expr const & new_lhs = result_lhs.first;
expr const & new_rhs = result_rhs.first;
expr const & pf_lhs = result_lhs.second;
expr const & pf_rhs = result_rhs.second;
if (lhs != new_lhs) {
if (rhs != new_rhs) {
// lhs & rhs changed

View file

@ -404,7 +404,6 @@ pair<expr, expr> let_body_rewriter_cell::operator()(environment const & env, con
name const & n = let_name(v);
expr const & ty = let_type(v);
expr const & val = let_value(v);
expr const & body = let_body(v);
context new_ctx = extend(ctx, n, ty);
pair<expr, expr> result_body = m_rw(env, new_ctx, body);