3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-10 17:58:06 +00:00

fixes to build warnings

This commit is contained in:
Nikolaj Bjorner 2024-09-30 08:23:31 -07:00
parent 2ac6f8bb06
commit 826835fd7c
21 changed files with 20 additions and 65 deletions

View file

@ -25,13 +25,13 @@ namespace sat {
unsigned sz = 0;
for (clause* c : m_clauses)
if (!c->was_removed())
sz++;
SASSERT(sz == m_size);
sz++;
VERIFY(sz == m_size);
unsigned redundant = 0;
for (clause* c : m_clauses)
if (c->is_learned())
redundant++;
SASSERT(redundant == m_num_redundant);
VERIFY(redundant == m_num_redundant);
return true;
}