mirror of
https://github.com/Z3Prover/z3
synced 2025-06-02 20:31:21 +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
2 changed files with 2 additions and 2 deletions
|
@ -281,7 +281,7 @@ bool iz3base::is_sat(const std::vector<ast> &q, ast &_proof, std::vector<ast> &v
|
||||||
_proof = cook(proof);
|
_proof = cook(proof);
|
||||||
}
|
}
|
||||||
else if(vars.size()) {
|
else if(vars.size()) {
|
||||||
model_ref(_m);
|
model_ref _m;
|
||||||
s.get_model(_m);
|
s.get_model(_m);
|
||||||
if (!_m.get()) {
|
if (!_m.get()) {
|
||||||
SASSERT(l_undef == res);
|
SASSERT(l_undef == res);
|
||||||
|
|
|
@ -6768,7 +6768,7 @@ namespace smt {
|
||||||
expr * sub2;
|
expr * sub2;
|
||||||
if (u.re.is_to_re(re, sub1)) {
|
if (u.re.is_to_re(re, sub1)) {
|
||||||
SASSERT(u.str.is_string(sub1));
|
SASSERT(u.str.is_string(sub1));
|
||||||
zstring(str);
|
zstring str;
|
||||||
u.str.is_string(sub1, str);
|
u.str.is_string(sub1, str);
|
||||||
lens.insert(str.length());
|
lens.insert(str.length());
|
||||||
} else if (u.re.is_concat(re, sub1, sub2)) {
|
} else if (u.re.is_concat(re, sub1, sub2)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue