3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

disambiguating arguments to unordered map erase and dealing with unused and uninitialized variables

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-05-09 15:35:00 -07:00
parent d43c12413d
commit f4544eb060
3 changed files with 5 additions and 3 deletions

View file

@ -1246,7 +1246,6 @@ namespace smt {
if (!can_propagate()) {
return;
}
unsigned qhead = m_asserted_qhead;
while (m_asserted_qhead < m_asserted_atoms.size() && !ctx().inconsistent()) {
bool_var bv = m_asserted_atoms[m_asserted_qhead].m_bv;
bool is_true = m_asserted_atoms[m_asserted_qhead].m_is_true;
@ -1835,7 +1834,6 @@ namespace smt {
// bounds propagation.
//
void propagate_bound_compound(bool_var bv, bool is_true, lp::bound& b) {
lp::bound_kind k = b.get_bound_kind();
theory_var v = b.get_var();
TRACE("arith", tout << mk_pp(get_owner(v), m) << "\n";);
if (static_cast<unsigned>(v) >= m_use_list.size()) {