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