Skip to content

Commit

Permalink
Fix some warnings about unused stuff. (#6290)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Aug 21, 2022
1 parent d5d77df commit 706f7fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/smt/theory_arith_eq.h
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ namespace smt {
return;
}
context & ctx = get_context();
region & r = ctx.get_region();
enode * _x = get_enode(x);
enode * _y = get_enode(y);
eq_vector const& eqs = antecedents.eqs();
Expand Down
1 change: 0 additions & 1 deletion src/smt/theory_dense_diff_logic_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,6 @@ namespace smt {
get_antecedents(target, source, antecedents);
if (l != null_literal)
antecedents.push_back(l);
region & r = ctx.get_region();
ctx.set_conflict(ctx.mk_justification(theory_conflict_justification(get_id(), ctx, antecedents.size(), antecedents.data())));

return;
Expand Down
4 changes: 3 additions & 1 deletion src/tactic/bv/bv_size_reduction_tactic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class bv_size_reduction_tactic : public tactic {
unsigned bv_sz;
expr * f, * lhs, * rhs;

#if 0
auto match_bitmask = [&](expr* lhs, expr* rhs) {
unsigned lo, hi;
expr* arg;
Expand All @@ -131,7 +132,8 @@ class bv_size_reduction_tactic : public tactic {
update_unsigned_upper(to_app(arg), val);
return true;
};

#endif

for (unsigned i = 0; i < sz; i++) {
bool negated = false;
f = g.form(i);
Expand Down

0 comments on commit 706f7fb

Please sign in to comment.