3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-07 11:41:22 +00:00

deal with compiler warnings (unused variables etc)

This commit is contained in:
Nikolaj Bjorner 2023-02-18 17:53:37 -08:00
parent 6092bf534c
commit c0f80f92ba
8 changed files with 14 additions and 23 deletions

View file

@ -583,8 +583,7 @@ namespace sat {
void ddfw::shift_weights() {
++m_shifts;
for (unsigned to_idx : m_unsat) {
auto& cf = m_clauses[to_idx];
SASSERT(!cf.is_true());
SASSERT(!m_clauses[to_idx].is_true());
unsigned from_idx = select_max_same_sign(to_idx);
if (from_idx == UINT_MAX || disregard_neighbor())
from_idx = select_random_true_clause();