mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 08:28:44 +00:00
fix warnings for unused variables
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ec565ae7a0
commit
96e157e201
38 changed files with 180 additions and 184 deletions
|
@ -40,8 +40,7 @@ namespace sat {
|
|||
if (it->is_clause()) {
|
||||
if (it->get_clause_offset() == cls_off) {
|
||||
// the blocked literal must be in the clause.
|
||||
literal l = it->get_blocked_literal();
|
||||
SASSERT(c.contains(l));
|
||||
SASSERT(c.contains(it->get_blocked_literal()));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -154,10 +153,11 @@ namespace sat {
|
|||
}
|
||||
|
||||
bool integrity_checker::check_watches() const {
|
||||
DEBUG_CODE(
|
||||
vector<watch_list>::const_iterator it = s.m_watches.begin();
|
||||
vector<watch_list>::const_iterator end = s.m_watches.end();
|
||||
for (unsigned l_idx = 0; it != end; ++it, ++l_idx) {
|
||||
literal l = ~to_literal(l_idx);
|
||||
literal l = ~to_literal(l_idx);
|
||||
watch_list const & wlist = *it;
|
||||
CTRACE("sat_bug", s.was_eliminated(l.var()) && !wlist.empty(),
|
||||
tout << "l: " << l << "\n";
|
||||
|
@ -193,7 +193,7 @@ namespace sat {
|
|||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue