3
0
Fork 0
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:
Christoph M. Wintersteiger 2015-07-30 09:09:13 +01:00
parent 7c282d3719
commit 0cd406ca0b
4 changed files with 8 additions and 8 deletions

View file

@ -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();

View file

@ -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() {

View file

@ -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() {

View file

@ -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;
}