mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue