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:
parent
f02d031d11
commit
9c5a0ee810
|
@ -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);
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue