mirror of
https://github.com/Z3Prover/z3
synced 2025-04-05 17:14:07 +00:00
deal with warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4527a99f64
commit
984db3047b
|
@ -558,7 +558,7 @@ extern "C" {
|
|||
cancel_eh<reslimit> eh(mk_c(c)->m().limit());
|
||||
to_solver(s)->set_eh(&eh);
|
||||
api::context::set_interruptable si(*(mk_c(c)), eh);
|
||||
lbool result;
|
||||
lbool result = l_undef;
|
||||
{
|
||||
scoped_ctrl_c ctrlc(eh, false, use_ctrl_c);
|
||||
scoped_timer timer(timeout, &eh);
|
||||
|
@ -576,6 +576,9 @@ extern "C" {
|
|||
return Z3_L_UNDEF;
|
||||
}
|
||||
catch (...) {
|
||||
to_solver_ref(s)->set_reason_unknown(eh);
|
||||
to_solver(s)->set_eh(nullptr);
|
||||
return Z3_L_UNDEF;
|
||||
}
|
||||
}
|
||||
to_solver(s)->set_eh(nullptr);
|
||||
|
|
Loading…
Reference in a new issue