Skip to content

Commit

Permalink
fix some build warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Sep 24, 2024
1 parent afaa48d commit a831fe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/muz/spacer/spacer_global_generalizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ void lemma_global_generalizer::subsumer::setup_cvx_closure(

cc.reset(n_vars);

unsigned bv_width;
unsigned bv_width = 0;
if (contains_bv(m, lc.get_lemmas()[0].get_sub(), bv_width)) {
cc.set_bv(bv_width);
}
Expand All @@ -232,7 +232,7 @@ void lemma_global_generalizer::subsumer::setup_cvx_closure(
cc.set_col_var(j, mk_rat_mul(m_col_lcm.get(j), m_col_names.get(j)));

vector<rational> row;
unsigned i;
unsigned i = 0;
for (const auto &lemma : lemmas) {
row.reset();
row.reserve(n_vars);
Expand Down

0 comments on commit a831fe9

Please sign in to comment.