3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-21 05:13:39 +00:00

remove exit

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-01-09 10:00:33 -08:00
parent a4f2a1bb2e
commit 30e0f78c16

View file

@ -207,7 +207,7 @@ br_status array_rewriter::mk_select_same_store(unsigned num_args, expr * const *
result = std::move(tmp); \ result = std::move(tmp); \
return status; \ return status; \
} \ } \
goto exit return BR_FAILED;
while (true) { while (true) {
if (m_util.is_store(arg0)) { if (m_util.is_store(arg0)) {
@ -228,8 +228,8 @@ br_status array_rewriter::mk_select_same_store(unsigned num_args, expr * const *
result = to_app(arg0)->get_arg(num_args); result = to_app(arg0)->get_arg(num_args);
first = false; first = false;
} }
else if (result != to_app(arg0)->get_arg(num_args)) else if (result != to_app(arg0)->get_arg(num_args))
goto exit; return BR_FAILED;
arg0 = to_app(arg0)->get_arg(0); arg0 = to_app(arg0)->get_arg(0);
continue; continue;
} }
@ -278,8 +278,6 @@ br_status array_rewriter::mk_select_same_store(unsigned num_args, expr * const *
} }
break; break;
} }
exit:
return BR_FAILED; return BR_FAILED;
} }