3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-08-02 12:13:25 +00:00

Remove new instances of unused local vars and functions (#10309)

A few seem to have crept in.  Verified with both dbg and release builds.
This commit is contained in:
davedets 2026-07-30 13:41:20 -07:00 committed by GitHub
parent 90fe0aa0f3
commit 7502e3c409
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 0 additions and 6 deletions

View file

@ -195,7 +195,6 @@ void pattern_inference_cfg::collect::save_candidate(expr * n, unsigned delta) {
}
case AST_APP: {
app * c = to_app(n);
func_decl * decl = c->get_decl();
if (m_owner.is_forbidden(c)) {
save(n, delta, nullptr);
return;

View file

@ -202,10 +202,6 @@ namespace seq {
return false;
}
static expr_ref mk_unit_string_from_char(seq_util& u, unsigned c) {
return expr_ref(u.str.mk_string(zstring(c)), u.get_manager());
}
static expr_ref mk_single_range_regex(seq_util& u, unsigned lo, unsigned hi, sort* re_sort) {
ast_manager& m = u.get_manager();
return expr_ref(u.re.mk_range(re_sort, lo, hi), m);

View file

@ -2952,7 +2952,6 @@ static unsigned read_tptp_stream(std::istream& in, char const* current_file) {
if (char const* dump_path = getenv("Z3_TPTP_DUMP_SMT2")) {
std::ofstream dout(dump_path);
if (dout) {
ast_manager& m = ctx.m();
dout << "; Auto-generated from TPTP input: "
<< (current_file ? current_file : "?") << "\n";
dout << "(set-logic ALL)\n";