3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05: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

@ -136,8 +136,8 @@ class pattern_inference_cfg : public default_rewriter_cfg {
ast_manager & m;
pattern_inference_cfg & m_owner;
family_id m_afid;
unsigned m_num_bindings;
family_id m_afid = null_family_id;
unsigned m_num_bindings = 0;
typedef map<entry, info *, obj_hash<entry>, default_eq<entry> > cache;
cache m_cache;
ptr_vector<info> m_info;

View file

@ -105,7 +105,7 @@ bool rewriter_tpl<Config>::process_const(app * t0) {
return true;
}
m_r = t;
// fall through
Z3_fallthrough;
case BR_DONE:
result_stack().push_back(m_r.get());
if (ProofGen) {