3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

fix uninitialized variable warnings

This commit is contained in:
Nikolaj Bjorner 2025-01-14 13:54:05 -08:00
parent 27cc928631
commit 648cf9602e
5 changed files with 10 additions and 10 deletions

View file

@ -26,18 +26,18 @@ namespace nla {
class cross_nested {
// fields
nex * m_e;
nex * m_e = nullptr;
std::function<bool (const nex*)> m_call_on_result;
std::function<bool (unsigned)> m_var_is_fixed;
std::function<unsigned ()> m_random;
bool m_done;
bool m_done = false;
ptr_vector<nex> m_b_split_vec;
int m_reported;
bool m_random_bit;
int m_reported = 0;
bool m_random_bit = false;
std::function<nex_scalar*()> m_mk_scalar;
nex_creator& m_nex_creator;
#ifdef Z3DEBUG
nex* m_e_clone;
nex* m_e_clone = nullptr;
#endif
public:

View file

@ -224,7 +224,7 @@ public:
unsigned limit_on_rows_for_hnf_cutter = 75;
unsigned limit_on_columns_for_hnf_cutter = 150;
private:
unsigned m_nlsat_delay;
unsigned m_nlsat_delay = 0;
bool m_enable_hnf = true;
bool m_print_external_var_name = false;
bool m_propagate_eqs = false;