mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
fix uninitialized variable warnings
This commit is contained in:
parent
27cc928631
commit
648cf9602e
|
@ -136,8 +136,8 @@ class pattern_inference_cfg : public default_rewriter_cfg {
|
||||||
|
|
||||||
ast_manager & m;
|
ast_manager & m;
|
||||||
pattern_inference_cfg & m_owner;
|
pattern_inference_cfg & m_owner;
|
||||||
family_id m_afid;
|
family_id m_afid = null_family_id;
|
||||||
unsigned m_num_bindings;
|
unsigned m_num_bindings = 0;
|
||||||
typedef map<entry, info *, obj_hash<entry>, default_eq<entry> > cache;
|
typedef map<entry, info *, obj_hash<entry>, default_eq<entry> > cache;
|
||||||
cache m_cache;
|
cache m_cache;
|
||||||
ptr_vector<info> m_info;
|
ptr_vector<info> m_info;
|
||||||
|
|
|
@ -105,7 +105,7 @@ bool rewriter_tpl<Config>::process_const(app * t0) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
m_r = t;
|
m_r = t;
|
||||||
// fall through
|
Z3_fallthrough;
|
||||||
case BR_DONE:
|
case BR_DONE:
|
||||||
result_stack().push_back(m_r.get());
|
result_stack().push_back(m_r.get());
|
||||||
if (ProofGen) {
|
if (ProofGen) {
|
||||||
|
|
|
@ -26,18 +26,18 @@ namespace nla {
|
||||||
class cross_nested {
|
class cross_nested {
|
||||||
|
|
||||||
// fields
|
// fields
|
||||||
nex * m_e;
|
nex * m_e = nullptr;
|
||||||
std::function<bool (const nex*)> m_call_on_result;
|
std::function<bool (const nex*)> m_call_on_result;
|
||||||
std::function<bool (unsigned)> m_var_is_fixed;
|
std::function<bool (unsigned)> m_var_is_fixed;
|
||||||
std::function<unsigned ()> m_random;
|
std::function<unsigned ()> m_random;
|
||||||
bool m_done;
|
bool m_done = false;
|
||||||
ptr_vector<nex> m_b_split_vec;
|
ptr_vector<nex> m_b_split_vec;
|
||||||
int m_reported;
|
int m_reported = 0;
|
||||||
bool m_random_bit;
|
bool m_random_bit = false;
|
||||||
std::function<nex_scalar*()> m_mk_scalar;
|
std::function<nex_scalar*()> m_mk_scalar;
|
||||||
nex_creator& m_nex_creator;
|
nex_creator& m_nex_creator;
|
||||||
#ifdef Z3DEBUG
|
#ifdef Z3DEBUG
|
||||||
nex* m_e_clone;
|
nex* m_e_clone = nullptr;
|
||||||
#endif
|
#endif
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
|
@ -224,7 +224,7 @@ public:
|
||||||
unsigned limit_on_rows_for_hnf_cutter = 75;
|
unsigned limit_on_rows_for_hnf_cutter = 75;
|
||||||
unsigned limit_on_columns_for_hnf_cutter = 150;
|
unsigned limit_on_columns_for_hnf_cutter = 150;
|
||||||
private:
|
private:
|
||||||
unsigned m_nlsat_delay;
|
unsigned m_nlsat_delay = 0;
|
||||||
bool m_enable_hnf = true;
|
bool m_enable_hnf = true;
|
||||||
bool m_print_external_var_name = false;
|
bool m_print_external_var_name = false;
|
||||||
bool m_propagate_eqs = false;
|
bool m_propagate_eqs = false;
|
||||||
|
|
|
@ -52,7 +52,7 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stacked_value() = default;
|
stacked_value(): m_value() { }
|
||||||
stacked_value(const T& m) {
|
stacked_value(const T& m) {
|
||||||
m_value = m;
|
m_value = m;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue