mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
fix un-intialized variable warnings
This commit is contained in:
parent
2c94a3a1b3
commit
551cc53a2f
8 changed files with 10 additions and 10 deletions
|
@ -360,7 +360,7 @@ namespace smt {
|
|||
for (unsigned i = 1; i < unsat_row.size(); ++i) {
|
||||
numeral c(unsat_row[i]);
|
||||
if (!c.is_zero()) {
|
||||
theory_var var;
|
||||
theory_var var = null_theory_var;
|
||||
if (!index2var.find(i, var)) {
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
|
|
@ -1572,7 +1572,7 @@ public:
|
|||
}
|
||||
|
||||
final_check_status eval_power(expr* e) {
|
||||
expr* x, * y;
|
||||
expr* x = nullptr, * y = nullptr;
|
||||
rational r;
|
||||
VERIFY(a.is_power(e, x, y));
|
||||
if (a.is_numeral(x, r) && r == 0 && a.is_numeral(y, r) && r == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue