mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 10:30:44 +00:00
deal with warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4f9a27693d
commit
44b0b0148b
2 changed files with 2 additions and 1 deletions
|
@ -100,7 +100,7 @@ namespace sat {
|
||||||
v /= 10;
|
v /= 10;
|
||||||
SASSERT(d > digits);
|
SASSERT(d > digits);
|
||||||
}
|
}
|
||||||
SASSERT(len + lastd - d < sizeof(buffer));
|
SASSERT(len + lastd < sizeof(buffer) + d);
|
||||||
memcpy(buffer + len, d, lastd - d);
|
memcpy(buffer + len, d, lastd - d);
|
||||||
len += static_cast<unsigned>(lastd - d);
|
len += static_cast<unsigned>(lastd - d);
|
||||||
buffer[len++] = ' ';
|
buffer[len++] = ' ';
|
||||||
|
|
|
@ -439,6 +439,7 @@ void asserted_formulas::commit(unsigned new_qhead) {
|
||||||
justified_expr const& j = m_formulas[i];
|
justified_expr const& j = m_formulas[i];
|
||||||
update_substitution(j.get_fml(), j.get_proof());
|
update_substitution(j.get_fml(), j.get_proof());
|
||||||
}
|
}
|
||||||
|
(void)new_sub;
|
||||||
m_qhead = new_qhead;
|
m_qhead = new_qhead;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue