3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

Remove unnecessary (and confusing) parantheses around variable name in its declaration.

Also fixes GCC warning [-Wparentheses].
This commit is contained in:
Daniel Schemmel 2018-05-19 04:17:52 +02:00
parent f02d031d11
commit 9c5a0ee810
No known key found for this signature in database
GPG key ID: A176732062461ECC
2 changed files with 2 additions and 2 deletions

View file

@ -281,7 +281,7 @@ bool iz3base::is_sat(const std::vector<ast> &q, ast &_proof, std::vector<ast> &v
_proof = cook(proof);
}
else if(vars.size()) {
model_ref(_m);
model_ref _m;
s.get_model(_m);
if (!_m.get()) {
SASSERT(l_undef == res);

View file

@ -6768,7 +6768,7 @@ namespace smt {
expr * sub2;
if (u.re.is_to_re(re, sub1)) {
SASSERT(u.str.is_string(sub1));
zstring(str);
zstring str;
u.str.is_string(sub1, str);
lens.insert(str.length());
} else if (u.re.is_concat(re, sub1, sub2)) {