mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
fix compiler warnings
This commit is contained in:
parent
a22fb8a96e
commit
5e034e495f
6 changed files with 3 additions and 7 deletions
|
@ -513,8 +513,7 @@ namespace q {
|
|||
|
||||
bool mbqi::first_offset(unsigned_vector& offsets, app_ref_vector const& vars) {
|
||||
offsets.reset();
|
||||
for (app* _ : vars)
|
||||
offsets.push_back(0);
|
||||
offsets.resize(vars.size(), 0);
|
||||
for (unsigned i = 0; i < vars.size(); ++i)
|
||||
if (!next_offset(offsets, vars, i, 0))
|
||||
return false;
|
||||
|
|
|
@ -269,7 +269,6 @@ namespace recfun {
|
|||
|
||||
bool solver::post_visit(expr* e, bool sign, bool root) {
|
||||
euf::enode* n = expr2enode(e);
|
||||
app* a = to_app(e);
|
||||
SASSERT(!n || !n->is_attached_to(get_id()));
|
||||
if (!n)
|
||||
n = mk_enode(e, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue