3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-24 23:03:41 +00:00

Fix a couple compiler warnings

This commit is contained in:
Christoph M. Wintersteiger 2022-06-04 08:00:56 +01:00
parent f652c57bfe
commit ed7db892f9
No known key found for this signature in database
GPG key ID: BCF6360F86294467
2 changed files with 86 additions and 87 deletions

View file

@ -35,7 +35,7 @@ class ast_pp_util {
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); }

View file

@ -983,7 +983,6 @@ public:
lbool init_local() {
m_trail.reset();
lbool is_sat = l_true;
for (auto const& [e, w, t] : m_soft)
add_soft(e, w);
m_max_upper = m_upper;