3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 17:14:07 +00:00

Merge pull request #1117 from levnach/master

fix maybe non initialized warning
This commit is contained in:
Nikolaj Bjorner 2017-06-26 17:13:14 -07:00 committed by GitHub
commit 475b5c70c8
2 changed files with 2 additions and 0 deletions

View file

@ -460,6 +460,7 @@ public:
break;
default:
lean_assert(false);
new_val_for_leaving = numeric_traits<T>::zero(); // does not matter
}
return j;
}

View file

@ -1139,6 +1139,7 @@ lp_primal_core_solver<T, X>::get_infeasibility_cost_for_column(unsigned j) const
break;
default:
lean_assert(false);
ret = numeric_traits<T>::zero(); // does not matter
break;
}