mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
build errors/warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
bd444f8ec7
commit
88374a15d0
8 changed files with 31 additions and 38 deletions
|
@ -757,7 +757,6 @@ namespace {
|
|||
|
||||
static const unsigned start_gen = 0;
|
||||
static const unsigned goal_gen_decrement = 100;
|
||||
static const unsigned stop_gen = goal_gen_decrement + 1;
|
||||
|
||||
|
||||
public:
|
||||
|
|
|
@ -227,9 +227,6 @@ namespace smt {
|
|||
}
|
||||
case OP_OR: {
|
||||
literal_buffer lits;
|
||||
expr* a = nullptr;
|
||||
expr_ref b(m), c(m);
|
||||
// perform light-weight rewriting on clauses.
|
||||
for (expr * arg : *to_app(n)) {
|
||||
internalize(arg, true);
|
||||
lits.push_back(get_literal(arg));
|
||||
|
|
|
@ -9686,8 +9686,7 @@ namespace smt {
|
|||
arith_value v(m);
|
||||
v.init(&ctx);
|
||||
rational val;
|
||||
bool val_exists = v.get_value(fromInt, val);
|
||||
SASSERT(val_exists);
|
||||
VERIFY(v.get_value(fromInt, val));
|
||||
|
||||
std::string s = std::to_string(val.get_int32());
|
||||
extra_deps.push_back(ctx.mk_eq_atom(fromInt, mk_int(val)));
|
||||
|
@ -9700,9 +9699,8 @@ namespace smt {
|
|||
arith_value v(m);
|
||||
v.init(&ctx);
|
||||
rational pos;
|
||||
bool pos_exists = v.get_value(substrPos, pos);
|
||||
VERIFY(v.get_value(substrPos, pos));
|
||||
|
||||
SASSERT(pos_exists);
|
||||
extra_deps.push_back(ctx.mk_eq_atom(substrPos, mk_int(pos)));
|
||||
return 1;
|
||||
|
||||
|
@ -9714,10 +9712,9 @@ namespace smt {
|
|||
arith_value v(m);
|
||||
v.init(&ctx);
|
||||
rational len, pos;
|
||||
bool len_exists = v.get_value(substrLen, len);
|
||||
bool pos_exists = v.get_value(substrPos, pos);
|
||||
VERIFY(v.get_value(substrLen, len));
|
||||
VERIFY(v.get_value(substrPos, pos));
|
||||
|
||||
SASSERT(len_exists && pos_exists);
|
||||
extra_deps.push_back(ctx.mk_eq_atom(substrPos, mk_int(pos)));
|
||||
return len.get_unsigned();
|
||||
|
||||
|
|
|
@ -576,6 +576,8 @@ namespace smt {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
UNREACHABLE(); // ???
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue