Skip to content

Commit 20598e3

Browse files
address clang warnings
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent 0c1b68b commit 20598e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tactic/fd_solver/smtfd_solver.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,6 @@ namespace smtfd {
15311531
unsigned_vector m_toggles_lim;
15321532
model_ref m_model;
15331533
std::string m_reason_unknown;
1534-
unsigned m_max_lemmas;
15351534
stats m_stats;
15361535
unsigned m_max_conflicts;
15371536
obj_hashtable<quantifier> m_enforced_quantifier;
@@ -1644,7 +1643,7 @@ namespace smtfd {
16441643
expr_ref_vector terms(core);
16451644
terms.append(m_axioms);
16461645

1647-
for (unsigned round = 0; !m_context.at_max() && m_context.add_theory_axioms(terms, round); ++round);
1646+
for (unsigned round = 0; !m_context.at_max() && m_context.add_theory_axioms(terms, round); ++round) {}
16481647

16491648
TRACE("smtfd", m_context.display(tout););
16501649
for (expr* f : m_context) {

src/test/lp/lp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1776,6 +1776,7 @@ void solve_rational() {
17761776
solver.find_maximal_solution();
17771777
lp_assert(solver.get_status() == lp_status::OPTIMAL);
17781778
for (const auto & it : expected_sol) {
1779+
(void)it;
17791780
lp_assert(it.second == solver.get_column_value_by_name(it.first));
17801781
}
17811782
}

0 commit comments

Comments
 (0)