3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-30 15:00:08 +00:00

unused warnings

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-10-24 08:49:25 -07:00
parent e6e1d94cf9
commit 637a0fa139
8 changed files with 9 additions and 11 deletions

View file

@ -149,8 +149,6 @@ namespace spacer {
expr_ref val(m), tmp(m);
proof_ref pr(m);
pr = m.mk_asserted(m.mk_true());
obj_map<expr, unsigned>::iterator it = diseqs.begin();
obj_map<expr, unsigned>::iterator end = diseqs.end();
for (auto const& kv : diseqs) {
if (kv.m_value >= threshold) {
model.eval(kv.m_key, val);

View file

@ -81,6 +81,8 @@ static bool matches_fact(expr_ref_vector &args, expr* &match)
}
// TBD: move to ast/proofs/elim_aux_assertions
class elim_aux_assertions {
app_ref m_aux;
public:
@ -404,6 +406,7 @@ void virtual_solver::refresh()
m_head = 0;
}
#ifdef NOT_USED_ANYWHERE
void virtual_solver::reset()
{
SASSERT(!m_pushed);
@ -411,6 +414,7 @@ void virtual_solver::reset()
m_assertions.reset();
m_factory.refresh();
}
#endif
void virtual_solver::get_labels(svector<symbol> &r)
{

View file

@ -91,8 +91,9 @@ public:
virtual void set_produce_models(bool f);
virtual bool get_produce_models();
virtual smt_params &fparams();
#ifdef NOT_USED_ANYWHERE
virtual void reset();
#endif
virtual void set_progress_callback(progress_callback *callback)
{UNREACHABLE();}