mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
fix some build warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
afaa48d72a
commit
a831fe9609
|
@ -223,7 +223,7 @@ void lemma_global_generalizer::subsumer::setup_cvx_closure(
|
||||||
|
|
||||||
cc.reset(n_vars);
|
cc.reset(n_vars);
|
||||||
|
|
||||||
unsigned bv_width;
|
unsigned bv_width = 0;
|
||||||
if (contains_bv(m, lc.get_lemmas()[0].get_sub(), bv_width)) {
|
if (contains_bv(m, lc.get_lemmas()[0].get_sub(), bv_width)) {
|
||||||
cc.set_bv(bv_width);
|
cc.set_bv(bv_width);
|
||||||
}
|
}
|
||||||
|
@ -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)));
|
cc.set_col_var(j, mk_rat_mul(m_col_lcm.get(j), m_col_names.get(j)));
|
||||||
|
|
||||||
vector<rational> row;
|
vector<rational> row;
|
||||||
unsigned i;
|
unsigned i = 0;
|
||||||
for (const auto &lemma : lemmas) {
|
for (const auto &lemma : lemmas) {
|
||||||
row.reset();
|
row.reset();
|
||||||
row.reserve(n_vars);
|
row.reserve(n_vars);
|
||||||
|
|
Loading…
Reference in a new issue