3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 11:55:51 +00:00

fix compiler warnings

This commit is contained in:
Nuno Lopes 2021-02-19 10:33:41 +00:00
parent a22fb8a96e
commit 5e034e495f
6 changed files with 3 additions and 7 deletions

View file

@ -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;