mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
removing warnings for unused variables, #579
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
40f8e16273
commit
09b8c0e7fa
7 changed files with 27 additions and 34 deletions
|
@ -345,10 +345,11 @@ namespace sat {
|
|||
}
|
||||
|
||||
void bceq::verify_sweep() {
|
||||
for (unsigned i = 0; i < m_L.size(); ++i) {
|
||||
uint64 b = eval_clause(*m_L[i]);
|
||||
SASSERT((~b) == 0);
|
||||
}
|
||||
DEBUG_CODE(
|
||||
for (unsigned i = 0; i < m_L.size(); ++i) {
|
||||
uint64 b = eval_clause(*m_L[i]);
|
||||
SASSERT((~b) == 0);
|
||||
});
|
||||
}
|
||||
|
||||
struct u64_hash { unsigned operator()(uint64 u) const { return (unsigned)u; } };
|
||||
|
|
|
@ -64,6 +64,7 @@ namespace sat {
|
|||
}
|
||||
|
||||
bool clause_set::check_invariant() const {
|
||||
DEBUG_CODE(
|
||||
{
|
||||
clause_vector::const_iterator it = m_set.begin();
|
||||
clause_vector::const_iterator end = m_set.end();
|
||||
|
@ -83,7 +84,7 @@ namespace sat {
|
|||
SASSERT(pos < m_set.size());
|
||||
SASSERT(m_set[pos]->id() == id);
|
||||
}
|
||||
}
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue