Skip to content

Commit 4fabaf9

Browse files
remove deprecated and bind1st and unused warnings
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent 984db30 commit 4fabaf9

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/muz/base/dl_rule_set.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,8 +697,6 @@ namespace datalog {
697697
strats_index++;
698698
}
699699
//we have managed to topologicaly order all the components
700-
SASSERT(std::find_if(m_components.begin(), m_components.end(),
701-
std::bind1st(std::not_equal_to<item_set*>(), (item_set*)0)) == m_components.end());
702700

703701
//reverse the strats array, so that the only the later components would depend on earlier ones
704702
std::reverse(m_strats.begin(), m_strats.end());

src/smt/theory_arith_core.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3291,7 +3291,6 @@ namespace smt {
32913291
for (app* n : m_underspecified_ops) {
32923292
tout << mk_pp(n, get_manager()) << "\n";
32933293
});
3294-
context& ctx = get_context();
32953294
m_factory = alloc(arith_factory, get_manager());
32963295
m.register_factory(m_factory);
32973296
compute_epsilon();

src/tactic/fd_solver/smtfd_solver.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -928,14 +928,12 @@ namespace smtfd {
928928
expr_ref_vector eqs(m);
929929
m_args.reset();
930930
m_args.push_back(a);
931-
bool all_eq = true;
932931
for (unsigned i = 1; i < t->get_num_args(); ++i) {
933932
expr* arg1 = t->get_arg(i);
934933
expr* arg2 = store->get_arg(i);
935934
if (arg1 == arg2) continue;
936935
expr_ref v1 = eval_abs(arg1);
937936
expr_ref v2 = eval_abs(arg2);
938-
if (v1 != v2) all_eq = false;
939937
m_args.push_back(arg1);
940938
eqs.push_back(m.mk_eq(arg1, arg2));
941939
}

0 commit comments

Comments
 (0)