3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

fix build warnings

This commit is contained in:
Nikolaj Bjorner 2024-09-30 17:25:19 -07:00
parent 8c39863019
commit 328616b8b2
6 changed files with 8 additions and 7 deletions

View file

@ -906,9 +906,9 @@ namespace {
void linearise_core() {
m_aux.reset();
app * first_app = nullptr;
unsigned first_app_reg;
unsigned first_app_sz;
unsigned first_app_num_unbound_vars;
unsigned first_app_reg = 0;
unsigned first_app_sz = 0;
unsigned first_app_num_unbound_vars = 0;
// generate first the non-BIND operations
for (unsigned reg : m_todo) {
expr * p = m_registers[reg];

View file

@ -1089,7 +1089,7 @@ namespace smt {
void theory_str::instantiate_axiom_CharAt(enode * e) {
ast_manager & m = get_manager();
expr* arg0, *arg1;
expr* arg0 = nullptr, *arg1 = nullptr;
app * expr = e->get_expr();
if (axiomatized_terms.contains(expr)) {
TRACE("str", tout << "already set up CharAt axiom for " << mk_pp(expr, m) << std::endl;);