mirror of
https://github.com/Z3Prover/z3
synced 2025-07-03 11:25:40 +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
4 changed files with 8 additions and 8 deletions
|
@ -457,7 +457,7 @@ namespace datalog {
|
||||||
rule * r = *it;
|
rule * r = *it;
|
||||||
app * head = r->get_head();
|
app * head = r->get_head();
|
||||||
func_decl * head_decl = head->get_decl();
|
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();
|
unsigned n = r->get_tail_size();
|
||||||
for (unsigned i = 0; i < n; i++) {
|
for (unsigned i = 0; i < n; i++) {
|
||||||
func_decl * tail_decl = r->get_tail(i)->get_decl();
|
func_decl * tail_decl = r->get_tail(i)->get_decl();
|
||||||
|
|
|
@ -40,8 +40,8 @@ namespace smt {
|
||||||
m_max_cexs(1),
|
m_max_cexs(1),
|
||||||
m_iteration_idx(0),
|
m_iteration_idx(0),
|
||||||
m_curr_model(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() {
|
model_checker::~model_checker() {
|
||||||
|
|
|
@ -2431,8 +2431,8 @@ namespace smt {
|
||||||
m_array_util(m),
|
m_array_util(m),
|
||||||
m_arith_util(m),
|
m_arith_util(m),
|
||||||
m_bv_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_sm_solver(alloc(simple_macro_solver, m, m_q2info)),
|
||||||
m_hint_solver(alloc(hint_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_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() {
|
model_finder::~model_finder() {
|
||||||
|
|
|
@ -778,7 +778,7 @@ namespace smt {
|
||||||
TRACE("array",
|
TRACE("array",
|
||||||
tout << mk_bounded_pp(v1, get_manager()) << "\n==\n"
|
tout << mk_bounded_pp(v1, get_manager()) << "\n==\n"
|
||||||
<< mk_bounded_pp(v2, get_manager()) << "\n";);
|
<< mk_bounded_pp(v2, get_manager()) << "\n";);
|
||||||
context& ctx = get_context();
|
|
||||||
if (m_eqs.contains(v1, v2)) {
|
if (m_eqs.contains(v1, v2)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue