mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
fix build warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
af700e88cf
commit
30df2837fb
4 changed files with 4 additions and 3 deletions
|
@ -176,7 +176,7 @@ namespace datalog {
|
||||||
step &s = steps[j];
|
step &s = steps[j];
|
||||||
|
|
||||||
// TBD
|
// TBD
|
||||||
s.m_labels;
|
// s.m_labels;
|
||||||
|
|
||||||
// set references, compensate for reverse ordering.
|
// set references, compensate for reverse ordering.
|
||||||
for (unsigned i = 0; i < s.m_refs.size(); ++i) {
|
for (unsigned i = 0; i < s.m_refs.size(); ++i) {
|
||||||
|
|
|
@ -1004,7 +1004,6 @@ namespace datalog {
|
||||||
|
|
||||||
void compiler::detect_chains(const func_decl_set & preds, func_decl_vector & ordered_preds,
|
void compiler::detect_chains(const func_decl_set & preds, func_decl_vector & ordered_preds,
|
||||||
func_decl_set & global_deltas) {
|
func_decl_set & global_deltas) {
|
||||||
typedef obj_map<func_decl, func_decl *> pred2pred;
|
|
||||||
|
|
||||||
SASSERT(ordered_preds.empty());
|
SASSERT(ordered_preds.empty());
|
||||||
SASSERT(global_deltas.empty());
|
SASSERT(global_deltas.empty());
|
||||||
|
|
|
@ -686,6 +686,7 @@ namespace datalog {
|
||||||
check_existential_tail(r);
|
check_existential_tail(r);
|
||||||
check_positive_predicates(r);
|
check_positive_predicates(r);
|
||||||
break;
|
break;
|
||||||
|
case LAST_ENGINE:
|
||||||
default:
|
default:
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
break;
|
break;
|
||||||
|
@ -1039,6 +1040,8 @@ namespace datalog {
|
||||||
case CLP_ENGINE:
|
case CLP_ENGINE:
|
||||||
m_engine = alloc(clp, *this);
|
m_engine = alloc(clp, *this);
|
||||||
break;
|
break;
|
||||||
|
case LAST_ENGINE:
|
||||||
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -107,7 +107,6 @@ namespace datalog {
|
||||||
m_next_var = 0;
|
m_next_var = 0;
|
||||||
ptr_vector<expr> todo;
|
ptr_vector<expr> todo;
|
||||||
todo.push_back(head);
|
todo.push_back(head);
|
||||||
unsigned next_var = 0;
|
|
||||||
for (unsigned i = 0; i < conjs.size(); ++i) {
|
for (unsigned i = 0; i < conjs.size(); ++i) {
|
||||||
expr* e = conjs[i].get();
|
expr* e = conjs[i].get();
|
||||||
expr* x, *y;
|
expr* x, *y;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue