mirror of
https://github.com/Z3Prover/z3
synced 2025-06-25 23:33:41 +00:00
Fix a couple compiler warnings
This commit is contained in:
parent
f652c57bfe
commit
ed7db892f9
2 changed files with 86 additions and 87 deletions
|
@ -35,7 +35,7 @@ class ast_pp_util {
|
||||||
|
|
||||||
decl_collector coll;
|
decl_collector coll;
|
||||||
|
|
||||||
ast_pp_util(ast_manager& m): m(m), m_env(m), coll(m), m_rec_decls(0), m_decls(0), m_sorts(0) {}
|
ast_pp_util(ast_manager& m): m(m), m_env(m), m_rec_decls(0), m_decls(0), m_sorts(0), coll(m) {}
|
||||||
|
|
||||||
void reset() { coll.reset(); m_removed.reset(); m_sorts.clear(0u); m_decls.clear(0u); m_rec_decls.clear(0u); }
|
void reset() { coll.reset(); m_removed.reset(); m_sorts.clear(0u); m_decls.clear(0u); m_rec_decls.clear(0u); }
|
||||||
|
|
||||||
|
|
|
@ -983,7 +983,6 @@ public:
|
||||||
|
|
||||||
lbool init_local() {
|
lbool init_local() {
|
||||||
m_trail.reset();
|
m_trail.reset();
|
||||||
lbool is_sat = l_true;
|
|
||||||
for (auto const& [e, w, t] : m_soft)
|
for (auto const& [e, w, t] : m_soft)
|
||||||
add_soft(e, w);
|
add_soft(e, w);
|
||||||
m_max_upper = m_upper;
|
m_max_upper = m_upper;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue