3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-03 13:56:08 +00:00

fix build warnings

This commit is contained in:
Nikolaj Bjorner 2026-06-22 18:20:23 -07:00
parent 86737e11ea
commit cb3d058067
19 changed files with 22 additions and 29 deletions

View file

@ -233,7 +233,6 @@ namespace smt {
}
else {
expr * sk_term = get_term_from_ctx(sk_value);
func_decl * f = nullptr;
if (sk_term != nullptr) {
TRACE(model_checker, tout << "sk term " << mk_pp(sk_term, m) << "\n");
sk_value = sk_term;

View file

@ -1435,7 +1435,6 @@ namespace smt {
}
}
unsigned max_count = 20;
for (auto t : tn.enum_terms(srt)) {
unsigned generation = 0; // todo - inherited from sub-term of t?
TRACE(model_finder, tout << "ho_var: adding term " << mk_ismt2_pp(t, m)

View file

@ -437,7 +437,7 @@ namespace smt {
return lit == arg;
};
auto lit1 = clause.get(0);
auto lit2 = clause.get(1);
[[maybe_unused]] auto lit2 = clause.get(1);
auto position = 0;
if (is_complement_to(is_true, lit1, e))
position = 0;