mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
avoid a warning
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
a68d5131c7
commit
62cf6aace7
1 changed files with 1 additions and 1 deletions
|
@ -1157,7 +1157,7 @@ public:
|
|||
|
||||
bool explanation_is_correct(const vector<std::pair<mpq, unsigned>>& explanation) const {
|
||||
#ifdef Z3DEBUG
|
||||
lconstraint_kind kind;
|
||||
lconstraint_kind kind = EQ; // initialize it just to avoid a warning
|
||||
SASSERT(the_relations_are_of_same_type(explanation, kind));
|
||||
SASSERT(the_left_sides_sum_to_zero(explanation));
|
||||
mpq rs = sum_of_right_sides_of_explanation(explanation);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue