mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
Fixed initialization order and unused variable warnings.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
7c282d3719
commit
0cd406ca0b
|
@ -457,7 +457,7 @@ namespace datalog {
|
|||
rule * r = *it;
|
||||
app * head = r->get_head();
|
||||
func_decl * head_decl = head->get_decl();
|
||||
unsigned head_strat = get_predicate_strat(head_decl);
|
||||
// unsigned head_strat = get_predicate_strat(head_decl);
|
||||
unsigned n = r->get_tail_size();
|
||||
for (unsigned i = 0; i < n; i++) {
|
||||
func_decl * tail_decl = r->get_tail(i)->get_decl();
|
||||
|
|
|
@ -40,8 +40,8 @@ namespace smt {
|
|||
m_max_cexs(1),
|
||||
m_iteration_idx(0),
|
||||
m_curr_model(0),
|
||||
m_new_instances_bindings(m),
|
||||
m_cancel(false) {
|
||||
m_cancel(false),
|
||||
m_new_instances_bindings(m) {
|
||||
}
|
||||
|
||||
model_checker::~model_checker() {
|
||||
|
|
|
@ -2431,8 +2431,8 @@ namespace smt {
|
|||
m_array_util(m),
|
||||
m_arith_util(m),
|
||||
m_bv_util(m),
|
||||
m_info(0),
|
||||
m_cancel(false) {
|
||||
m_cancel(false),
|
||||
m_info(0) {
|
||||
}
|
||||
|
||||
|
||||
|
@ -3285,8 +3285,8 @@ namespace smt {
|
|||
m_sm_solver(alloc(simple_macro_solver, m, m_q2info)),
|
||||
m_hint_solver(alloc(hint_solver, m, m_q2info)),
|
||||
m_nm_solver(alloc(non_auf_macro_solver, m, m_q2info, m_dependencies)),
|
||||
m_new_constraints(m),
|
||||
m_cancel(false) {
|
||||
m_cancel(false),
|
||||
m_new_constraints(m) {
|
||||
}
|
||||
|
||||
model_finder::~model_finder() {
|
||||
|
|
|
@ -778,7 +778,7 @@ namespace smt {
|
|||
TRACE("array",
|
||||
tout << mk_bounded_pp(v1, get_manager()) << "\n==\n"
|
||||
<< mk_bounded_pp(v2, get_manager()) << "\n";);
|
||||
context& ctx = get_context();
|
||||
|
||||
if (m_eqs.contains(v1, v2)) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue