mirror of
https://github.com/Z3Prover/z3
synced 2025-08-26 13:06:05 +00:00
Refactor and fix uninitialized variables and improve function consistency across multiple modules
This commit is contained in:
parent
499ed5d844
commit
eb8c63080a
17 changed files with 60 additions and 25 deletions
|
@ -927,7 +927,7 @@ sort * bv_util::mk_sort(unsigned bv_size) {
|
|||
}
|
||||
|
||||
unsigned bv_util::get_int2bv_size(parameter const& p) {
|
||||
int sz;
|
||||
int sz = 0;
|
||||
VERIFY(m_plugin->get_int2bv_size(1, &p, sz));
|
||||
return static_cast<unsigned>(sz);
|
||||
}
|
||||
|
@ -951,4 +951,4 @@ app* bv_util::mk_bv_rotate_left(expr* arg, unsigned n) {
|
|||
app* bv_util::mk_bv_rotate_right(expr* arg, unsigned n) {
|
||||
parameter p(n);
|
||||
return m_manager.mk_app(get_fid(), OP_ROTATE_RIGHT, 1, &p, 1, &arg);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -907,7 +907,6 @@ namespace euf {
|
|||
m_dst_r.reset();
|
||||
m_dst_r.append(monomial(dst.r).m_nodes);
|
||||
unsigned src_r_size = m_src_r.size();
|
||||
unsigned dst_r_size = m_dst_r.size();
|
||||
SASSERT(src_r_size == monomial(src.r).size());
|
||||
// dst_r contains C
|
||||
// src_r contains E
|
||||
|
|
|
@ -136,7 +136,7 @@ namespace euf {
|
|||
};
|
||||
|
||||
theory_id m_fid = 0;
|
||||
unsigned m_op = null_decl_kind;
|
||||
decl_kind m_op = null_decl_kind;
|
||||
func_decl* m_decl = nullptr;
|
||||
vector<eq> m_eqs;
|
||||
ptr_vector<node> m_nodes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue